DOVER — Officials say that the Dover man involved in an armed standoff Wednesday night was a long-term substitute teacher at Dover High School.

Superintendent Jean Briggs Badger confirmed Thursday that 33-year-old Brian P. Karl had been employed by the district. He will no longer be substituting in the school system and there is now a no trespass order to keep him off school premises, she said.

Police charged Karl in connection with a six-hour armed standoff at the New Meadows apartment complex off Route 155.

Karl, of 32 Isaac Lucas Circle, has been charged with one count of stalking and one count of reckless conduct. Police responded to building #7 Lilac Lane in Dover at approximately 5:46 p.m. for a report of a suicidal subject. A woman resident of the building who had a previous relationship with Karl reported that Karl was in the hallway of the building and was suicidal

Officers responded and contacted Karl in the second floor hallway. The officers contained Karl to the hallway and began communicating with him while other officers evacuated the apartment building. The woman resident and her juvenile son were evacuated via ladder from a second-floor balcony by Dover police assisted by troopers from the New Hampshire State Police.

The Strafford County Regional Tactical Operations Unit was called in to assist. The tactical unit evacuated the remaining residents of the second story by ladder off balconies as Karl's position in the second floor hallway made evacuation through the interior of the building impossible. A temporary shelter was set for displaced tenants, police said.

Negotiators assigned to the tactical team were able to convince Karl to surrender at approximately 11:30 p.m. The charge of stalking, a class A Misdemeanor is a result of what police say were Karl's actions leading up to the incident in which purposely engaged in a course of conduct that placed the female resident in fear. The charge of reckless conduct is a felony resulting because police claim Karl, while armed with a handgun, engaged in conduct that placed others in danger of serious bodily injury.

Karl is at the Strafford County House of Corrections. His bail has been set at $50,000 cash. Conditions of his release, should he make bail include no contact with the woman or her immediate family and he is prohibited from driving within 100 feet of Wentworth Gardens and New Meadows buildings in Dover. Karl is also prohibted from using alcohol, narcotic drugs and controlled substances as well as possessing firearms, destructive devices, dangerous weapons or ammunition.

Karl's court date has been set for Wednesday, May 15 at 10 a.m.

In addition to the Strafford County Regional Tactical Operations Unit, (which is made up of officers from Dover, Rochester, UNH, Durham, Somersworth, Farmington and Milton), the Dover police were assisted by New Hampshire State Police and the Dover Fire Department.