<human>: Can you provide a brief rundown of the text in within 3 sentences?

My girlfriend has a very close male best friend. She always talks to him and sends him hearts and tells him she loves him. They also hang out alone together. They have known each other for around four years.

At first I was uncomfortable with this but I learned to give it a place, because she assured me that they have no sexual past together. I have since become friends with the guy too and we've been to a couple of parties together, once even without my girlfriend.

However, three days ago, when I was checking my girlfriend's holiday pictures, I found pictures that clearly indicated that they were more than just friends at one point. I confronted my girlfriend with this and she admitted that they've been sexually active during a certain period. Later they concluded that it was better to be just friends and now she says that the sex she had with him doesn't mean anything to her anymore.

At first I wanted to break up if she kept seeing the guy, but after overthinking it a lot I managed to find a compromise with my girlfriend. The compromise is that she will not be alone with him anymore, she will not be physically close with him anymore and she will not send hearts and 'I love you's anymore. Moreover, I do not want to see him anymore since I don't want to be confronted with guys she used to fuck in the past.

She has assured me that this is the only thing she has ever lied about to me, because she was afraid of my reaction if she told me the truth.

Now, my question is, have I made the right choice? Or should I instead break up after all? Or should I just let it go and trust her for being commited to me even though she hangs out with him? Your thoughts will be much appreciated.
<bot>: I found out my girlfriend has lied about her sexual past with a very close male friend of hers. I demanded that she will not be close with him anymore. Was demanding this the right choice or should I have done something else?