A North Carolina man turned himself in to police Thursday after saying he parked a bomb in his truck in front of the Library of Congress on Capitol Hill.

This threat from the suspect, 49-year-old Floyd Ray Roseberry, resulted in the evacuation of the library, the Supreme Court, the Cannon House office building and the offices of the Republican National Committee.

Roseberry posted several videos online in the hours leading up to his surrender while he was in his truck.

“He got out of the vehicle and surrendered, and the tactical units that were nearby took him into custody without incident,” said US Capitol police chief Tom Manger.

“He gave up and didn’t fight back.”

Manger said there was a propane tank in the truck, but “we currently think it’s safe”.

A man named Floyd Ray Roseberry, who claims to be in his truck with explosives, speaks during a Facebook livestream in a still from a video that was captured in Washington on August 19, 2021.

Social media | via Reuters

Manger said Roseberry, who last lived in Grover, North Carolina, had some family losses, including his mother, who “recently passed away”.

“There were other issues that he was dealing with,” said the boss.

Manger had previously told reporters that Roseberry pulled his truck onto the sidewalk in front of the Library of Congress at around 9:15 a.m.

Sydney Bobb, a student at the University of Wisconsin at Madison, told CNBC that he was taking a class in the United Methodist Building on Capitol Hill when she saw Roseberry in his truck outside the Library of Congress.

“I look up and see a guy throwing up [$1 bills] from his truck, “said Bobb, who took a photo of the scene that she later posted on Twitter.

“I heard him say he had a bomb on him.”

When Capitol Police responded to a call regarding the truck, “The truck driver told the responding officer that he had a bomb and what the officer said appeared to be a detonator in the man’s hand,” said Manger.

“So we immediately evacuated the surrounding buildings,” said Manger.

Congress and the Supreme Court were not currently in session, which reduced the number of people who would normally work near the Capitol Hill complex.

Roseberry made anti-government statements, according to police officers speaking to NBC News.

A Facebook livestream showed Roseberry in his truck in front of the Library of Congress.

A pickup truck is parked on the sidewalk in front of the Library of Congress’s Thomas Jefferson Building seen from a window of the U.S. Capitol in Washington on Thursday, August 19, 2021.

Alex Brandon | AP

Facebook removed the stream about 90 minutes after the video was recorded, said a company spokesman.

During the standoff, Roseberry communicated with authorities by writing on a dry-erase board he had in the vehicle. According to Manger, he refused to use a phone that was sent to him on a police robot.

On Thursday, August 19, 2021, people are being evacuated from the James Madison Memorial Building, a building belonging to the Library of Congress in Washington, as law enforcement officers investigate a report on a pickup truck with an explosive device near the U.S. Capitol.

Alex Brandon | AP

The White House received updates from law enforcement during the stalemate.

Subways bypass the Capitol South station because of the investigation, said the Washington Metropolitan Area Transit Authority.

– Additional coverage by CNBCs Amanda Macias and Brian Schwartz

This is the latest news. Please check again for updates.