WARREN, Maine — A Warren man is being held without bail after being arrested on a charge of sexually assaulting a 4-year-old boy.

Brendan Gray, 19, made his initial appearance Monday in Knox County Unified Court on two counts of Class A gross sexual assault and a misdemeanor count of violating a condition of release.

He faces up to 30 years in prison if convicted.

Gray had been free on bail after pleading guilty in July to a domestic violence assault charge that occurred in May in Warren. Under terms of a deferred disposition approved in July, Gray would have been allowed with withdraw his guilty plea to the assault and instead be convicted of disorderly conduct and pay a $250 fine if he refrained from criminal conduct for the next 12 months.

Judge Susan Sparaco agreed to the request of Assistant District Attorney Jeffrey Baroody to have Gray’s bail revoked on the deferred disposition case. Sparaco set bail at $25,000 cash on the new sexual assault charges.

According to an affidavit filed in court by the Knox County Sheriff’s Office, the father of the 4-year-old contacted police after his son made a statement that made the man suspicious. The boy then said Gray had sexually assaulted him in September.

Knox Detective Justin Twitchell interviewed the boy and then on Friday went to Gray’s place of work and interviewed him. According to the affidavit, Gray admitted to the sexual assaults.