A German man tried to rob a Frankfurt bank on Monday, but after admitting to the bank teller he wanted to be arrested to get help for his drug addiction, she got him a cup of coffee and police let him go.

The 44-year-old man was instead given advice on where to seek help for his addiction, The Local reported.

The man walked into the bank Monday morning, waited in line, then told a teller he was robbing the bank.

After hitting the alarm to call police, the teller started talking to the man and he admitted he didn't actually want the money, but needed help. She offered him a chair and a cup of coffee and sat with him while they waited for police.

"He didn't hurt anyone, didn't damage anything, so there was no reason for us to hold him," a police spokesman told the website.