Wyandotte County sheriff's spokeswoman Maj.
"I went through a panic", he said.
Both Rohrer and the other deputy were taken to the hospital in critical condition.
When they pulled into a parking lot outside the county courthouse, the deputies were "overcome", Bailiff said.
'It is very possible that with their own firearm they were both shot, ' Bailiff during an afternoon press conference. Investigators said the inmate may have grabbed a weapon from one of the deputies during a struggle after he got out of a van transporting him late Friday morning.
The shooting occurred outside the courthouse annex, near the area where inmates are transported. Authorities say they are not searching for any other suspects at this time.
An aerial photo outside the courthouse showed a fire truck and several patrol cars parked in the front.
"There are witnesses we are speaking with", said Zac Blair, a spokesman for the Kansas City police department, according to the Kansas City Star. Police Officer Zac Blair says authorities are reviewing surveillance video. Details of what led to the shooting were not immediately available. He had worked for the department for seven years. "We are here for you all".
Kansas City, Kansas, police confirm the deputies were shot at the courthouse in downtown Kansas City, Kansas.
The Kansas City Royals plan to hold a moment of silence in honor of Rohrer at Friday night's game.
Kansas Senate President Susan Wagle tweeted out a statement saying she was "heartbroken for the families of the deputies, the Wyandotte Sheriff's Department, and for the entire community".
He referred questions about their conditions to the sheriff's department, which hasn't returned a phone message.
The deputy that died was identified as Deputy Patrick Rohrer, 35. Our thoughts are with you in the hard days ahead!' the Kansas Highway Patrol wrote on Facebook.