A Bakersfield man was sentenced on Monday to more than two years in prison for conspiracy to commit bank fraud and aggravated identity theft.