A former youth pastor, arrested as a suspect in sexual assault cases involving children in Denver and Parker, had a sexual relationship with a 17-year-old student when she was a senior in high school, according to a court document.

Joshua Clemons, 35, was arrested by Denver police on Tuesday on suspicion of sexual assault on a child by a person in a position of trust, police said. Clemons also faces two counts of the same charge in Douglas County, according to Parker police.

Clemons was a youth pastor at Cross Roads Community Church, 9900 Twenty Mile Road in Parker, from 2008 through September 2015, police said. All three of the alleged crimes happened while Clemons worked at the church. The victims were members or former members of the youth program.

In the Denver case, Clemons had an alleged affair, which included sexual intercourse, with a teen victim from September 2014 through August 2015. Clemons, who was married at the time, knew the girl was 17 at the time, according to an arrest affidavit.

On the girl’s 18th birthday, Clemons gave her a card that included a message: “We’re legal,” the affidavit said.

Clemons allegedly had sex with the victim at his southwest Denver home multiple times. The sexual relationship continued, according to the affidavit, after the girl graduated from high school and went to college, where Clemons would visit her. The relationship ended in late 2017.

The multiple cases, one in Denver and two in Parker, came to light after Cross Roads church brought allegations to Parker investigators. On Feb. 6, investigators in Parker contacted Denver police about the alleged sexual encounters there. The investigations are ongoing.