A Myrtle Beach man who is accused of robbing 14 banks in six states was sentenced today in federal court in downtown Charleston for his robberies in the Palmetto state.

Wesley Todd McCracken, 43, was sentenced to five years and 10 months in prison. He pleaded guilty in December to robbing banks in Charleston, Georgetown, Columbia and Florence.

His attorney, Cameron Jane Blazer, told the judge before sentencing that her client committed the robberies while “under the haze of various substances,” including cocaine.

McCracken began a robbery spree on Oct. 24, 2011, at a Wells Fargo bank in Florence, according to prosecutors. He’s accused of robbing 13 other banks in Tennessee, Georgia, Florida, Kentucky and Pennsylvania over three months, according to prosecutors.

McCracken was arrested on Dec. 29, 2011, after he robbed a South Carolina Bank and Trust in Georgetown, authorities said. He admitted to all of the robberies after law enforcement showed him security photos of him committing the robberies, prosecutors said.

After his release McCracken will be required to pay restitution in monthly payments.

Check back with postandcourier.com for updates and read more in upcoming editions of The Post and Courier.

Reach Natalie Caula at 937-5594 or Twitter.com/ncaula.