There’s a pretty bold, legal line between treating yourself and stealing over $25,000 from your employer, one former Uber contractor found Monday with a six-month jail sentence.

Bernie Ali Martinez will also complete five years of probation for the joy ride he took in the form of credits for himself and his friends and family, Bay City News reports.

Martinez had access to Uber’s computer system, which he used between February and May 2016 to grant credits for rides and UberEATS deliveries often to his Colma home. He pleaded no contest to felony grand theft charges in June, almost one year after investigators seized his computer and phone.

Uber released a statement to CNET in June clarifying that Martinez was not a driver or employee, but a temporary contractor.

“As part of his job responsibilities, he was authorized to issue credits, but once we detected the abuse, we shut down his access and reported the theft to law enforcement,” Uber told CNET.

Prosecutors said the 25-year-old Martinez will pay a large chunk of the value he took from Uber, more than $18,000, in restitution, court fees and various fines.