KANSAS CITY, Kan. (AP) — A 70-year-old man who said he robbed a Kansas City, Kansas, bank so he could get away from his wife blamed his actions on depression.

A federal judge on Tuesday sentenced Lawrence John Ripple to probation.

READ MORE: Dallas Stars Win Fourth Game In A Row, Beating Arizona Coyotes 3-2

Ripple went to the Bank of Labor — a block from police headquarters — last September. He gave a note to a teller saying he had a gun and was demanding money. After he was given it, Ripple waited for police.

READ MORE: Dallas Police Ask Public For Help Finding Deadly Hit-And-Run Suspects

Court records indicate Ripple wrote the robbery note in front of his wife and told her he would rather be in jail than at home.

The Kansas City Star reports Ripple told the judge Tuesday that heart surgery left him depressed and unlike himself before he robbed the bank.

MORE NEWS: Missing Canadian Aaron Tschritter Last Seen In Deep Ellum Came For Cowboys Game, Never Made It 

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)