SUN VALLEY (CBSLA) –A man suspected of attempting to rob a Sun Valley gas station was taken into custody Wednesday evening after barricading inside the building for more than two hours.

January 5, 2022 (CBSLA)

READ MORE: Brian Laundrie Claimed 'Responsibility' For Gabby Petito's Death In Notebook, FBI says

Officers responded to the gas station at the intersection of Roscoe Boulevard and Webb Avenue about 3:50 p.m. after receiving a call from a worker who said the man was attempting to steal money from the cash register, police said.

The worker fled the scene and locked herself in an employee section of the station before officers arrived.

READ MORE: VP Kamala Harris Visits San Bernardino To Tout $600M In Wildfire Recovery Money For Calif.

The man barricaded inside the station, but eventually surrendered to police and was taken into custody about 6:45 p.m. His name was not immediately released.

No injuries were reported in the attempted robbery.

MORE NEWS: Ancient Cuneiform Stone Tablet, Rare Old Babylonian Prism Returned To Republic Of Iraq

(© Copyright 2022 CBS Broadcasting Inc. All Rights Reserved. City News Service contributed to this report.)