Was i r*ped at 14?

Ok so i need some help understanding. I was 14, he was 18. Known him years sometimes our friend groups mixed. Anyways, one night i ended up in his with another friend. Me and the guy in question were kissing/chatting and then later my friend left. When i eventually wanted to leave this guy was not having it he said he wouldn't let me go until i had sex with him. I was a virgin. I was nervous, hesitant and in an uncomfortable situation. He continued to pressure me for what felt like hours until i gave in so that he would let me leave. I didn't enjoy any of it at all. Im confused about the whole thing. Whats more confusing to me is that i returned again the next day willingly to have sex with him again and im struggling to understand why i did this. Can anyone help me try to understand?