CORENLIUS, N.C. - A man has been detained after a potential bomb squad situation caused evacuations at Cornelius Town Hall and Police Department Friday afternoon.

According to Cornelius police, a man walked into the Cornelius Police Station and was noted as saying he had the materials to make a bomb in his car outside.

It was at that time that Cornelius PD closed off the area and evacuated buildings as a precaution while they investigated the materials in the vehicle.

With the help of the CMPD bomb squad, some materials were found in the vehicle that could have been used to make a bomb. The man detained was described as a white male in his late 20s.

Catawba Ave in Cornelius has been reopened after being shut down for hours amid the apparent bomb squad situation.

A Rite Aid and Cashion's gas station on Main street off Catawba Ave was also evacuated as a precaution.

NBC Charlotte's Brandon Goldner is on the scene.