Bail was denied Friday for a man charged with sexually assaulting a 36-year-old developmentally disabled man.

Jeremiah Beaverly, 26, faces a single felony count of criminal sexual assault after he allegedly admitted to Chicago police that he had had sex with the 36-year-old on multiple occasions, Cook County prosecutors said at the hearing.

Police officers on patrol early Wednesday found Beaverly walking with the man at Rainbow Beach Park, 3111 E. 77th St., and stopped them for being in the park during hours when it was closed, prosecutors said.

Officers became concerned when they tried to talk to the 36-year-old and he had difficultly communicating, prosecutors said. The 36-year-old was taken to South Shore Hospital, where he was evaluated and found to have the mental capacity of a 5-year-old. The 36-year-old also receives Social Security payments for his disability.

Beaverly, who has no criminal history, allegedly told police he had had sex with the 36-year-old on several occasions, prosecutors said.

An assistant public defender for Beaverly said he denies the allegations of sexual assault. His lawyer said he had a year of college education and is currently unemployed and could not afford any money for bond.

Judge Arthur Wesley Willis told Beaverly repeatedly during the hearing to refrain from making comments and ordered him held without bail, in part because of statements Beaverly made in court, he said.

Beaverly’s next court date was set for Aug. 2.