Capital Gazette shooting suspect handed 23-count indictment

The gunman accused of attacking journalists at the Capital Gazette, killing five and injuring others, has been indicted by a grand jury on 23 counts related to the mass shooting, according to officials.

The Anne Arundel County State's Attorney's Office announced 38-year-old Jarrod Ramos was indicted on five counts of first-degree murder, one count of attempted first-degree murder, six counts of first-degree assault and 11 counts of use of a firearm in the commission of a crime of violence.

MORE: Gunman in Maryland newspaper shooting had intent 'to cause harm,' police say

Ramos is accused of planning the attack, which claimed the lives of Gerald Fischman, Rob Hiaasen, John McNamara, Rebecca Smith and Wendi Winters, after a long-standing feud with the Capital Gazette and a history of making threats against the newspaper, according to officials.

On June 28, authorities said Ramos barricaded the back door so that the victims could not get out before he used a pump-action shotgun that was legally purchased about a year ago to carry out the targeted attack.

MORE: Despite tragic shooting, Capital Gazette still publishes paper on following day

Charging documents stated that Ramos tried to hide under a desk following the attack but was captured and taken into custody by police.

FOX 5's coverage of the Capital Gazette shooting:

Harassment victim speaks out about Jarrod Ramos

Anne Arundel County police say Geofeedia could've helped in Capital Gazette shooting

Annapolis-native Patriots' Bill Belichick saddened by Capital Gazette shooting

Video shows Capital Gazette shooting suspect being arrested

Vigils held to remember victims of Capital Gazette shooting

Victims identified in Capital Gazette shooting

Capital Gazette suspected gunman charged with 5 counts of 1st-degree murder, bond denied

Annapolis shooting suspect previously filed defamation lawsuit against Capital Gazette

Governor Hogan orders Maryland flags lowered in honor of Capital Gazette victims

Annapolis Mayor: "We're just horrified at what they must have had to go through"

Court Docs: Suspected Capital Gazette gunman tried to hide under desk after shooting

Capital Gazette 'Opinion' page left blank in memory of shooting victims

Milo Yiannopoulos texts about 'gunning journalists down' 2 days before Capital Gazette shooting

Police: Gunman in Maryland newspaper shooting had intent 'to cause harm'

Capital Gazette Shooting: 5 dead after gunman opens fire in Annapolis, officials say

Despite tragic shooting, Capital Gazette still publishes paper on following day