I looked it up to and it said this was a misdemeanor. My search was for statutory rape.
The state’s Romeo and Juliet law protects defendants when, at the time of the alleged offense:
The victim was between 15 and 17 years old
The defendant was 19 years old or a current high school student
The defendant is no more than two years older than the victim
The sexual activity was consensual
In some cases, marriage can affect the age of consent laws. Arizona law allows minors who are 16 or 17 years old to marry with parental consent. Once married, the age of consent for the couple would be 16 years old, as long as they are legally married.
https://www.mayestelles.com/criminal-defense/sex-crimes/statutory-rape/