The court awarded the punishment to Esko Esa Juhani Parviainen, 43, as allegations brought against him were proved beyond doubt.
The court also ordered a fine of EUR 8,000 as compensation to the bank employees.
Proceedings in the court revealed that the man masqueraded in a mask along with a pellet gun and took away EUR 25,000 after entering the bank.
The man later fled on a mountain bike, but the police along with dog squad soon caught him and recovered the stolen money after one of the bank employees showed the direction took by the robber.
The man admitted to have committed the act.