The attorney representing Jacob Chansley, also known as the "QAnon Shaman," argued Friday that his client should be released pending trial before a federal judge in Washington.

Chansley is the man shown in viral videos and photos bare-chested and wearing a fur hat with horns inside the Capitol and the Senate chamber during the Jan. 6 riot. 

Chansley's attorney, Al Watkins, said his client went to the Capitol at the invitation of former President Donald Trump, "like Forrest Gump."

TOPSHOT - Supporters of US President Donald Trump, including member of the QAnon conspiracy group Jake Angeli, aka Yellowstone Wolf (C), enter the US Capitol on January 6, 2021, in Washington, DC. - Demonstrators breeched security and entered the Capitol as Congress debated the a 2020 presidential election Electoral Vote Certification. (Photo by Saul LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)

"We’re not dealing with a man of violence," Watkins told U.S. District Judge Royce Lamberth. "They genuinely believed in the truth of what was being asserted by the highest hired hand in the land, the president..."

CAPITOL RIOTER 'QANON SHAMAN' CLAIMS IN NEW INTERVIEW THAT OFFICERS 'WAVED' HIM INTO BUILDING ON JAN. 6

Watkins also argued that Chansley believed police were allowing him and other protesters to enter the Capitol building. 

Chansley has been in custody since his arrest, and prosecutors are seeking to keep him in detention until his trial. 

TUCKER CARLSON: THE MAINSTREAM MEDIA DOOMSDAY CULT AND THE GROWTH OF THE POLICE STATE

Prosecutors assert that there is no reasonable version of events where Chansley could have thought the police were escorting him in, "as windows were being broken" and the alarm was going off.

A prosecutor told Lamberth that a Capitol Police officer asked Chansley to leave the Senate chamber multiple times, but he remained at the vice president's desk, leaving a note saying, "It’s only a matter of time. Justice is coming."

CLICK HERE TO GET THE FOX NEWS APP

Lamberth said he intends to issue a ruling "shortly."