A homeless Topeka man pleaded guilty Tuesday to robbing a local credit union.

Robert Charles Frazier, 63, pleaded guilty to one count of robbery, U.S. Attorney for Kansas Stephen McAllister said in a news release.

In the plea, Frazier said that on Aug. 20, he robbed the Azura Credit Union at 1129 S. Kansas Ave., in Topeka.

He told a teller, “This is a robbery. Give me your twenties, fifties and hundreds.”

After receiving the money, he left the building and sat down on a nearby wall, McAllister said. An off-duty Topeka police officer working security arrested him.

Sentencing is set for Feb. 26. Both parties have agreed to recommend a sentence of five years in federal prison.