A 14-year-old girl was pushed into a boys bathroom at Rockville High School on Thursday morning and raped by two other students during school hours, according to Montgomery County District Court records filed Friday.

Police arrested two ninth-graders, Henry E. Sanchez, 18, and Jose O. Montano, 17, who appeared in court Friday and were ordered held without bond.

“I believe that you are a danger,” District Judge Eugene Wolfe told Sanchez.

On Thursday morning, Montano forced the girl, who told police she knew him as a friend, into a bathroom after asking her to have sex with him, which she refused, according to court documents.

The girl tried to resist being dragged into a bathroom stall, clinging to a sink, as Montano pulled her then shoved her into a stall, the court records state.

Henry Sanchez (Montgomery County Police)

The two took turns holding the girl down and sexually assaulting her as she cried out, fought back and repeatedly told them to stop, according to police affidavits filed in court.

A noise at the bathroom door caused Sanchez to leave the bathroom, and Montano to put his hand over the girl’s mouth to keep her quiet, according to the affidavits.

The girl eventually got out of the bathroom and told a staff member what happened. Detectives interviewed Sanchez and Montano and found evidence in the bathroom, according to authorities.

Sanchez, a native of Guatemala who arrived in the United States about seven months ago, has a pending “alien removal” case against him, court officials said Friday. “He is a substantial flight risk,” Montgomery County Assistant States Attorney Rebecca MacVittie said in court Friday.

Montano has been in the United States for about eight months, MacVittie said. Details about Sanchez’s removal case, or Montano’s immigration status, couldn’t immediately be learned Friday.

John Lavigne, a public defender who represented Montano and Sanchez in court, did not give an account of their version of the events.

Montano and Sanchez were charged with first-degree rape and two counts of first-degree sexual offense, police said. Montano’s address was not provided by police. Sanchez lives in Aspen Hill.

Montano was charged as an adult in the case, but because of his age, police said, they did not release his photograph after the arrest.

The school acknowledged the incident in a letter sent to parents Friday, saying the alleged assailants were arrested at the school, which has about 1,300 students.

“Ensuring a safe, secure and welcoming learning environment for all of our students is our top priority,” the letter from Principal Billie-Jean Bensen said. “Our staff remains vigilant in the monitoring of our school each and every day.”

Gboyinde Onijala, a schools spokeswoman, said she could not comment on why Sanchez and Montano are only in ninth grade.