A judge sentenced Terrance Vogel to 4 to 7 years in prison for attempted robbery.
Vogel plead guilty in December.
In August, Vogel walked into the Great Western Bank at 12th and N Streets in Downtown Lincoln and handed a note to the teller demanding money.
An employee noticed what was going on and called authorities.
Police arrested him right outside the bank doors.
The money was returned to the bank and no one was hurt.