Discuss as:

Dramatic shootout outside Tulsa courthouse

A 23-year-old man was arrested Wednesday after he opened fire outside the Tulsa County courthouse, police said. KJRH-TV's Liz Bryant reports.

UPDATED at 9:12 a.m. ET: A 23-year-old man was arrested Wednesday after he opened fire outside the Tulsa County Courthouse, police said. A sheriff's deputy and a bystander were injured, and the gunman was in critical condition after being shot by police.

Police said the man, identified as Andrew Joseph Dennehy, walked into the plaza outside the courthouse and Tulsa City-County Library and began firing into the air.

He then sat on a cement bench at the plaza, according to local NBC station KJRH. Three deputies reportedly arrived moments later and exchanged fire with Dennehy.


One deputy was shot in the hand, Sgt. Dave Walker of the Tulsa Police Department told KJRH. The deputy is in serious condition with non-life-threatening injuries.

Deputies fired a total of five rounds at Dennehy, striking him in the face and body, KJRH reported. He was taken into surgery and was in critical condition as of Wednesday night.

John Fancher / Reuters

A suspect later identified by police as Andrew Joseph Dennehy holds a gun as Tulsa County sheriff's deputies and other law enforcement officers surround him on the plaza in front of the Tulsa County courthouse in Tulsa, Oklahoma, on Wednesday.

It is not clear if a bullet from the gunman or from police struck the bystander, who is in fair condition. A woman, who was not hit by gunfire, was "shaken up" and treated at the scene.

Police spokesman Leland Ashley said Dennehy was considered to be in police custody but hadn't been formally charged.

The sheriff's office told the local FOX23 station that their security procedure was carried out exactly as planned, and that the police officers reacted very quickly.

The courthouse was set to be open as usual Thursday, FOX23 reported.

'Everybody was running'
The Tulsa World reported that a wedding ceremony had just taken place in the plaza when the gunfire erupted.

John Fancher / Reuters

Tulsa County sheriff's deputies and other law enforcement officers secure a gunman on the plaza in front of the Tulsa County courthouse in Tulsa, Oklahoma, on Wednesday.

"The shooter was about 20 feet away from me," Angela Reudelhuger, who had conducted the ceremony, told the Tulsa World. She said the bride and groom's 6-month-old baby was among the wedding guests.

"We just jumped inside [the courthouse], and I yelled at the deputy, 'Somebody's shooting!'" she said.

Glyn Roe, a heating and air conditioning worker from Tulsa who was visiting the library Wednesday, said he saw all the events unfold.

"Everybody was running," Roe said. "I was watching it to make sure he wasn't coming into the library, or I would have started running, too."

Virginia Jones, owner of Downtown Tulsa Tag Agency, where people can update their car licenses, said she and her son were leaving to pick up another child from school when they heard gunfire.

Police officers crouched behind giant planters that dot the plaza when more gunfire erupted.

"It wasn't long after that that police just started coming from everywhere," she said.

More content from msnbc.com and NBC News

Follow US News on msnbc.com on Twitter and Facebook

Msnbc.com staff and The Associated Press contributed to this report.