A Texas man was sentenced on Thursday to 30 years in federal prison for child exploitation violations while he acted as a host to foreign exchange students.

Joseph Patrick Mosher, 50, pleaded guilty in March to two counts of sexually exploiting children.

Authorities told the court that a teen who knew Mosher altered school officials in 2018 that he believed he was being secretly filmed while using his bathroom, CBS DFW reported. The Carrollton Police Department seized the cameras from his home while executing a search warrant. There were a total of five believed victims, the report said.