This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

CHICAGO — Bond has been denied for the man charged in the fatal shooting of a Chicago police commander.

Shomari Legghette was charged with first-degree murder, felon in possession of a firearm and possession of narcotics in connection with the death of Cmdr. Paul Bauer.

He appeared in bond court Thursday morning where his bond was denied.

The judge called him a “real and present” threat to the community after hearing the details of the murder and about Legghette’s lengthy criminal record that includes battery, armed robbery and felony drug charges dating back 20 years.

On Thursday, Legghette shuffled into the courtroom, with the eyes of nearly 50 police officers trained squarely on him.

“This case is truly tragic and disheartening to the entire city,” Cook County State’s Attorney Kim Foxx said.

Outside of the Cook County Criminal Court building, flags fluttered at half-staff.

Inside, a courtroom packed with police officers, including CPS Superintendent Eddie Johnson, were at full attention.

“The commander was a leader in the department, a devoted father, and husband,” Foxx said.

Police say the 44-year-old Legghette was in downtown Chicago on Tuesday afternoon when tactical officers approached him because he was acting suspiciously. After a brief scuffle, he ran away.

Police said the 53-year-old Bauer, who identified himself as a police officer, grabbed Legghette and was holding him when he and the suspect fought. Authorities say both fell down a stairwell before Legghette allegedly shot him.

Foxx said Legghette fired seven shots at Cmdr. Bauer. He was hit by six of those shots – and suffered wounds to his head, neck, torso, back and wrist.

Foxx described the heart-breaking scene, where police found Cmdr. Bauer’s body.

“Cmdr. Bauer’s weapon was holstered and secured when his body was found. Cmdr. Bauer’s police radio and handcuffs were on the ground next to his body,” she said.

Seconds later, Legghette was arrested in the stairwell.

Investigators recovered a 9 millimeter gun with an extended clip in his coat pocket along with cocaine, heroin, marijuana and a sharp object. Authorities said he was wearing a ballistic vest.