CNN  — 

The accused gunman in the deadly shooting at Maryland’s Capital Gazette newspaper barricaded the back entrance of the paper’s office so people could not escape as he began “systematically hunting and killing,” Anne Arundel County State’s Attorney Wes Adams said Friday.

Authorities said Jarrod Warren Ramos, 38, stormed into the paper’s Annapolis newsroom Thursday afternoon with a shotgun, killing five employees and leaving two others wounded – with the shooting taking place a few years after he unsuccessfully sued the newspaper for defamation.

Ramos concealed his weapon as he entered the building’s back entrance and barricaded a back door, Adams said at Ramos’ bail hearing Friday morning in an Annapolis court. The first blasts came through the building’s front door, which sent employees rushing toward the back door.

Ramos shot at least one victim who was trying to escape through the barricaded door, Adams said.

A witness earlier told CNN that she saw one of the slain victims get shot after he tried to open a back door.

“This fellow