APRIL 6--Two of America’s dumbest thieves have dodged prison after pleading guilty to stealing an iPad, which they used to take celebratory “selfie” photos that were then automatically uploaded to the victim’s iCloud account.

According to court records, Dorian Walker-Gaines, 20, and Dillian Thompson, 22, have each pleaded guilty to a felony charge in connection with the theft of cash and assorted electronic devices from a truck that owner Stewart Schaefer parked in front of his Houston home in January.

After stealing the items from the unlocked car, Walker-Gaines and Thompson repaired to a nearby Burger King to celebrate the evening’s haul. Using the stolen iPad, the pair posed for a series of photos (like the one above) showing them displaying fans of stolen $100 bills.

And they even used the Apple device to film a gloating video during which Walker-Gaines declared, “This, my good people, is what we get from a good night’s hustle,” according to a District Court criminal complaint. Seen below, the clip, which was subsequently uploaded to Walker-Gaines’s Facebook page, includes Thompson, with only hundreds in hand, noting, “No twenties, no fives, no tens.”

What the duo did not realize, however, was that their post-heist selfies were backed up to Schaefer’s iCloud account. Upon discovering the incriminating pictures, Schaefer provided the photos to cops (while a friend uploaded the images to Reddit, where sleuths helped to ID the perps).

Walker-Gaines and Thompson were each sentenced to five years of community supervision, which includes random drug testing and prohibits the consumption of alcohol. While each man was ordered to pay courts costs of $212, only Walker-Gaines’s sentencing order includes a restitution component. He is required to repay Schaefer $9000 in $175-a-month installments.

In addition to copping to the theft charge, Thompson simultaneously pleaded guilty to using a stolen credit card in an unrelated case. He was also sentenced to community supervision on that felony charge. (2 pages)