A tense standoff between police and an armed Temple student who officials said was “suicidal” ended early Monday morning, with the suspect being detained in safe condition, police at the scene said.

The student, a 26-year-old male, was talked out of his armed barricade in the basement of his North Willington Street row house around 2 a.m. after a nearly 17-hour standoff that began at 9:20 a.m. Sunday morning, Oct. 13.

Sgt. Frank McFillin of Philadelphia police said the student was taken to the Episcopal Campus of Temple University Hospital for evaluation. Episcopal is the behavioral sciences wing of TUH.

The incident began when officers responded to calls from concerned family members that their son was in need of help. Officers responded to the house, 1852 N. Willington St., and found the student inside with a gun, Philadelphia Police Department Homeland Security Chief Joe Sullivan said.

Sullivan said the student was alone in his apartment throughout the incident, and told police they had to leave.

Philadelphia police SWAT units were quickly brought in along with Temple Police and Philadelphia firefighters to clear the scene and cordon off the area around the 1800 block of North Willington Street.

Due to the armed standoff, police shut down access to the 1800 block of North Willington Street and the 1600 block of Berks Street. While police told students living on those blocks to remain in their homes on the second floor, several were allowed to leave to get food and return with a police escort. Throughout the warm afternoon, students on the block stood on their stoops and porches watching the incident unfold with SWAT units entering and leaving the house.

Sullivan and several other sources at the scene said the student is diagnosed with an undisclosed mental illness, and was behaving with suicidal tendencies. The student fired multiple shots throughout the day, several police sources confirmed, though no injuries to officers or the student were reported.

Despite several false reports by various news outlets claiming that the student had committed suicide, police at the scene said they were in constant communication with him throughout the day via cell phone.

“When they are talking to us we know they are in good health,” Sullivan said.

By 2:30 p.m., Sgt. McFillin said that while negotiations remained ongoing, officers had lost hope for a quick ending to the standoff.

Students locked down in their homes on the 1800 block of North Willington Street said they heard police officers negotiating with the student through megaphones. Police brought the student cigarettes and water late in the evening, students and officers said.

Replacement crews of firefighters and SWAT officers began arriving around 4 p.m. to relieve colleagues who had been working since the morning. The replacements themselves began to dwindle around midnight, when police said it seemed likely that the standoff would last through the night.

Two hours later, police successfully negotiated an end to the standoff with no harm to the student or officers, McFillin said.

McFillin said that the student was briefly able to speak with his parents, who had waited inside the police barricade for hours, before being taken away to TUH.

A few minutes later, the streets were cleared for students and residents to return, and all signs of the day’s commotion were gone. Several inquisitive students peered out of doors and windows to watch the last of the cop cars drive away.

The university sent out two email alerts to students throughout the day, the first at 10:01 a.m. and the latter at 7 p.m. Students displaced from their homes had to scramble to find alternatives, and many reported through social media that they were forced to stay at friend’s houses.