Embed from Getty Images

The suspect in Thursday’s mass shooting at the offices of the Capital Gazette newspaper in Maryland newspaper has been charged with five counts of first-degree murder in the shooting, according to NBC News.

Five people were killed and several others “gravely injured” during the attack in Annapolis.

The 38-year-old suspected shooter had a history with the paper, filing a defamation suit against it in 2012. The suit was in relation to a story about a harassment case in which Ramos was the defendant.

During the attack, journalists crawled under desks to avoid being seen, listening to the gunman’s footsteps and blasts from his pump-action shotgun.

Ramos reportedly refused to cooperate with police, and had “filed off” his fingerprints to avoid being identified. Investigators used facial recognition software to identify Ramos, according to ABC News.