young relationships

i’m 14 turning 15 in 2 months and my boyfriend is 17 we’ve been dating since last October and he was 16 at the time when it first started. My question is it illegal to continue this relationship after he turns 18?