A 70-year-old man who told investigators after robbing a Kansas bank that he'd rather be imprisoned than with his wife has admitted carrying out the holdup.

Lawrence Ripple pleaded guilty Monday in Kansas City, Kansas, to a federal bank robbery count. He faces up to 20 years in prison.

Prosecutors and his defense attorney are free to argue what sentence they think is fair, reported the Kansas City Star. Ripple pleaded guilty without any plea deal.

Court documents show that Ripple gave a Kansas City bank teller a note on September 2, 2016 demanding cash and warning he had a gun.

Lawrence John Ripple (pictured above in his arrest booking photo), 70, is accused of robbing a bank in Kansas and told investigators he would rather be imprisoned than live with his wife

After being arrested, Ripple told investigators that he had argued with his wife earlier in the day and that he 'no longer wanted to be in that situation.' He is pictured above with his wife in a photo he shared to Facebook about two weeks before he robbed the bank

Ripple grabbed nearly $3,000, sat in the lobby of Bank of Labor at 756 Minnesota Ave and told a guard he was the 'guy he was looking for,' according to the police report.

An FBI agent says Ripple had argued with his wife earlier and told her in writing he'd 'rather be in jail than at home.'

Ripple's wife, Endayon, accompanied him to court Monday and the pair refused to comment, reports the Kansas City Star.

The man was released on bond in September.

Ripple (left) had argued with his wife (right) earlier and told her in writing he'd 'rather be in jail than at home'

Surveillance video from the strange crime showed the elderly man approaching a bank teller and handing her a note which read 'I have a gun, give me money.'

He was handed $2,924, but instead of fleeing the scene, he then went and sat in the lobby and awaited arrest.