A 21-year-old man accused of raping a 14-year-old girl after being found by police in her bedroom closet made his initial appearance in Missoula County Justice Court on Thursday.

Acting Justice of the Peace Tracy Rhodes set a $50,000 bail for Justin Cahoon, charged with sexual intercourse without consent. If Cahoon is released, Rhodes said, he is not to have contact with the girl or her family.

According to court documents, a Seeley Lake woman contacted a sheriff’s deputy after seeing a video on Snapchat depicting sexual contact between Cahoon and a 14-year-old girl.

When interviewed by a nurse at the First Step Resource Center, the girl denied any such contact with Cahoon, according to a court affidavit. According to court documents, the girl texted Cahoon about the possibility of getting caught and indicated she would lie to officers.

Cahoon allegedly responded that “(Y)ou’ll be 16 by the time we are caught.”

Montana’s age of consent for sex is 16.

A detective got permission from the girl’s grandparents to check her home, and found Cahoon in the closet of the girl’s room.

In an interview with the detective after his arrest, Cahoon allegedly admitted to having kissed the girl but when asked about a sexual relationship indicated he wanted to speak with an attorney.