COLMA (CBS SF) – A 25-year-old former Uber contractor from Colma has been sentenced to six months in jail and five years of probation for using the ride-hailing service’s internal system to issue more than $25,000 in free rides and food deliveries for himself, his friends and family, prosecutors said Monday.

Bernie Ali Martinez received the sentence Friday after he pleaded no contest on June 26 to felony grand theft charges for a case that was reported to police after Uber discovered the theft and fired him, according to the San Mateo County District Attorney’s Office.

READ MORE: Oakland Police Arrest Homicide Suspect Who Fatally Shot Male Victim, Fired at Firefighters

Martinez had been given a password to access Uber’s system and he used it to issue $25,543 in credits to himself, friends and family members to pay for rides and deliveries from the UberEATS app, often to Martinez’s home, prosecutors said.

Investigators served a search warrant in August 2016 at his home in Colma, where his home computer and phone were seized, prosecutors said.

READ MORE: San Francisco Police Arrest Man Suspected of Carjacking Uber Driver in SoMa

Along with the jail sentence and probation, Martinez was ordered to pay more than $18,000 in restitution and various fines and court fees, prosecutors said.

His defense attorney Jason Cueva declined to comment on the case.

MORE NEWS: 49ers Playoffs: Faithful Gear Up As Showdown Vs. Packers Nears

© Copyright 2017 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.