DETROIT (WWJ/AP) – A 49-year-old man has been sentenced to up to 22 years in prison in the robbery and carjacking of two elderly women as they were leaving a Detroit casino.

The Detroit News reports Wayne Jones of Wayne County’s Redford Township learned his punishment Tuesday after earlier pleading guilty to charges in the case.

READ MORE: Ribs RnB Music Festival Kicks Off This Weekend In Downtown Detroit

Jones apologized in court, saying he made a “bad choice” now must “pay for it.”

In what was described as a crime of opportunity, authorities said Jones followed a 68-year-old Sterling Heights woman and a 78-year-old Clinton Township woman out of the casino, at around 5:30 a.m. on Sept. 17 , and onto the roof of the parking garage. As the pair entered their PT Cruiser, Jones got into the car with them and pulled out a hand gun. He demanded money, took their purses and forced the younger woman to drive.

READ MORE: Judge Says Michigan Gov. Whitmer Won't Have To Testify In Abortion Lawsuit

Once they reached a field on the west side, near Schoolcraft and Appoline Street, Jones ordered the women out of the car and drove away, police said. The women then walked about two miles before a Good Samaritan helped them to a police precinct. Neither woman was injured.

According to reports, Jones later returned to the casino parking garage to exchange the stolen vehicle for his own. His image was caught on security cameras, which assisted police in breaking the case.

Jones later told investigators he had a gambling problem and was trying to get money to pay off a debt.

MORE NEWS: MDHHS Lifts No-Contact Recommendation In Huron River Chemical Spill

TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.