An 18-year-old student was charged with raping a 16-year-old girl in a stairwell of their Manhattan school on Monday, police said Tuesday.

Jevon Martin, a student at Washington Irving Campus near Union Square, is accused of raping the girl in a stairwell between the third and fourth floors of the building around 8:15 a.m., according to police.

He was later arrested on campus around 12:30 p.m. after the victim reported the attack, an NYPD spokeswoman said.

The teenage girl was taken to a hospital for evaluation, according to the spokeswoman.

Police said the two knew each other. The extent of their relationship was not immediately clear.

Department of Education spokeswoman Miranda Barbot said officials were taking the allegations very seriously.

“This troubling incident was immediately reported and we are working closely with the NYPD as they conduct an investigation," Barbot said in an emailed statement. "We are treating this with the utmost seriousness and are providing the campus with additional guidance and safety supports.”

According to the DOE's website, the campus located at 40 Irving Place houses several schools, including the International High School at Union Square, Union Square Academy for Health Sciences and the High School for Language and Diplomacy. It wasn’t clear, however, which school or schools the students attend.