Underage sex

Do you think having sex a couple of months before said person is legal is an issue? It has caused so much pain for me and my -now ex- boyfriend, we had been together for 2 years before we did anything. I need some opinions 😴