The judge says he's a danger to the community.

PITTSBURGH (KDKA) – An Oakdale man accused of using a baseball bat to smash two windows at the U.S. Capitol during the riots will remain behind bars.

A federal magistrate ruled 27-year-old Jorden Mink will remain locked up until his trial. The judge says he’s a danger to the community.

READ MORE: Mon Wharf Reopening For Parking On Monday

(Photo: FBI)

Court documents say Mink used a baseball bat to shatter a window at the Capitol.

READ MORE: University of Pittsburgh Main Campus Shifts Into Lower-Risk Classification For The Coronavirus

He then allegedly went through the broken window and took property out of the Capitol like chairs, passing it on to the crowd outside. He then tried to shatter another window with a baseball bat, the court documents say.

MORE NEWS: Baldwin High School Students Raise Thousands Of Dollars Through Polar Pop Event For Special Olympics Of Pennsylvania

The FBI arrested the South Fayette man last week and a federal grand jury in Washington indicted him on Wednesday.