A still image from surveillance video released by Bakersfield Heart Hospital shows a gunman who had shot out a glass door Friday, Dec. 1, 2017, to gain entry to the hospital. The suspect, Brandon Clark, was later shot by police.

The video shows Brandon Clark shooting out the glass at the back door of the hospital and heading inside late Friday afternoon. Staff and visitors inside quickly headed for cover after the shots rang out.

Clark, 44, from Big Sur, then exited the hospital and encountered police, where he was shot.

Clark is currently in the hospital with critical injuries, according to the Police Department.