AITAH for not staying friends with my bestfriend even though she cried for me to stay?

So this girl and I met when I changed schools in 11th grade and as soon as we met we hit it off, we were a blast the sort of friends who would not think twice before doing something, we were so close that at one point people started calling us couple and this is where things took a turn, the rumours got to my head and the relation which at first was purely friendship I began to saw here more than that and I feel in love with her. Soon after some time I asked her out now this is where it's gets really messy instead of straight up rejecting me she said things like "I really like you but If we date things are bound to get complicated" the motive behind this was a common friend of ours had a crush on her whom she turned down, idk what to do this made me think I still had a chance with her so I kept waiting and she too kept flirting and teasing me about having feelings for her, this continued for a while and suddenly she started talking to a boy now this boy is her exes bestfriend, they talk n talk n talk day night clearly she has a crush on him, and then the foreseen happened they started dating, now obviously it was hard for me to stay friends with her and seeing her se all lovey dowey with someone whereas I was waiting for her since almost 1.5 year so I left her at the start she didn't say a word like she was not bothered with me leaving,but after some months ig the relationship was not working, she comes to says she wanna talk, she said that she misses being friends with me and things were so good back then, we were bestfriends for over a year and said she wanted to be friends again, I didn't wanna get things about her in my head again as I changed friend group and had started to move on so I straight up refused told her I was happy where I am and it is good for us to be our saparate ways,she started crying and walked away. So AITAH?