North Star High School was put on lock down as Lancaster County Sheriff's Department deputies searched for a suspect in the north part of Lincoln.
Officers had surrounded an apartment building just to the south of North Star High School.
The man was apprehended at the Waterbrook Apartment Complex by authorities around 9:45 a.m. Thursday.
Thirty-year-old Chadwick Fitzgerald was wanted for firing a gun shot outside near Northeast High School and Pershing Elementary on Wednesday.
Authorities say Fitzgerald shot at his girlfriend. She was not hurt. They say he wanted to meet with her but started making threats. She decided to drive away. That's when authorities say he pulled the gun and fired a shot.
Those school were placed on lock down after that event.
Fitzgerald was found hiding in a storage closet on the third floor of the complex and taken into custody immediately.
For about half an hour, authorities surrounded the apartment building.
Lancaster County Sheriff's Deputies had assault rifles drawn and were escorting residents from the building.
As people were escorted, authorities searched for the suspect who they believed was holed up somewhere inside the building.
Based on scanner traffic, the suspect was believed to have a gun, although he was unarmed when taken into custody.
Just before 9 a.m. Thursday, authorities set up a perimeter in the area of Superior Street, from North Star High School and south to 33rd Street.
10/11 News received a phone call from a parent inside the high school, stating that North Star High School was locked down just before 9 a.m.
A teacher inside North Star High School also notified 10/11 News that they had been on lock down.