The man suspected of opening fire in the newsroom of the Capital Gazette in Annapolis, Md., killing at least five people, was identified as Jarrod W. Ramos, a law enforcement official told the Associated Press.

Described as a man in his 30s, Ramos was taken into custody after he allegedly shot journalists and other employees of the Annapolis-area newspaper.

ROB HIAASEN, CAPITAL GAZETTE EDITOR AND BROTHER OF AUTHOR CARL HIAASEN, IDENTIFIED AS NEWSROOM SHOOTING VICTIM

Ramos reportedly had a history with the Capital Gazette, as reports said he sued the paper and one of its columnists for defamation in 2012.

Investigators initially had trouble identifying the suspect via his fingerprints because his fingers were mutilated, Fox News learned. However, an Anne Arundel County Police Department spokesperson told Fox News on Friday that it wasn't true that the suspect had mutilated fingers and they weren't sure how the rumor started.

It was not immediately clear whether he self-mutiliated his fingertips to avoid being identified, if he suffered injuries during the shooting or if he had longstanding injuries.

Twitter accounts seemingly belonging to the suspect included images of a gun pointed at someone's head and multiple profanity-laced tweets.

Fox News' Jason Donner and Chad Pergram and the Associated Press contributed to this report.