A Grants Pass man who robbed banks in four states and was dubbed the Bandana Bandit has been sentenced to 22 years in federal prison.

A Grants Pass man who robbed banks in four states and was dubbed the Bandana Bandit has been sentenced to 22 years in federal prison.

David Mitchell McFarland, 31, of Grants Pass, was sentenced Thursday in U.S. District Court by Judge Ann Aiken to 262 months in prison, five years of supervised probation and ordered to pay more than $100,000 in restitution for committing several bank robberies.

Federal investigators said McFarland robbed six banks in Oregon, Missouri, North Carolina and South Carolina. McFarland targeted Eugene banks between March and November 2007 and was dubbed the "Bandana Bandit" because he used a kerchief to hide his face during the robberies.

In four of the bank robberies, McFarland threatened bank employees with a pistol as he demanded money.

McFarland also admitted that he committed bank fraud in Oregon and illegally possessed a firearm in Alabama. He was ultimately arrested in Alabama on an Oregon warrant.