A Montgomery County man who was spotted near West Point after allegedly robbing the Trustco bank in Slingerlands at gunpoint last week was captured Wednesday in South Carolina, Bethlehem police said.

Victor Shear, 45, of Canajoharie, was arrested in North Myrtle Beach. He will be charged with first-degree robbery and fourth-degree grand larceny, police said.

Police say he robbed the bank on Aug. 21 while dressed like a construction worker. He flashed a gun, demanded money, took cash and ran, police said.

On Friday, Shear abandoned a car he’d been driving near Wildwood Ridge Road in the Town of Highlands, according to police. State police conducted a manhunt near

James O’Neill High School and West Point Friday without success.

Police are looking into whether Shear may have robbed a Sharon Springs bank in January. That suspect also dressed as a construction worker.

A friend of Shear’s, Anthony Zumbolo, 40, of Amsterdam, was charged Monday with hindering prosecution for tipping off Shear with a text, saying police were on their way to his house. Zumbolo, 40, of Amsterdam, is in Albany County jail until his bail hearing Thursday.