A Portland man who exchanged gunfire with police and held two people hostage in Bangor on Sunday made his initial appearance Monday at the Penobscot Judicial Center.

The judge set bail for Nicholas Condon, 27, of 55 Malilly Road at $100,000 cash, according to the Penobscot County Jail, where he was held Monday night. Condon’s bail conditions prohibit him from having contact with the woman – his former girlfriend – and the man who she was with during a standoff that lasted seven hours.

Condon is facing two counts of kidnapping and one count of burglary with a firearm, all felonies.

Bangor police said the standoff began at 8 a.m. at 831 Union St. in Bangor on Sunday. When police arrived, Condon allegedly opened fire on the officers. The officers returned fire before retreating to take cover. No one was injured during the shootout.

The neighborhood was evacuated. Police sent a crisis negotiator and a special response team to the home. Condon eventually released the hostages unharmed. Negotiations between police and Condon continued throughout the afternoon.

After police tossed tear gas into the home, Condon walked out of the house with his hands raised. He was taken into custody and taken to the Penobscot County Jail.

His next court appearance has been scheduled for April 8.