Two court bailiffs were killed Monday afternoon when gunfire rang out at a southwestern Michigan courthouse, authorities said. The gunman was later killed, as well.

Berrien County Sheriff Paul Bailey said the confrontation took place about 2:25 p.m. ET at the county courthouse in St. Joseph. Several other people, including a sheriff's deputy, were injured.

Few details were immediately available, but Bailey indicated that the gunman was in court while already in custody, NBC News reports.

"I won't say what the suspect was in for," he said.