A Los Angeles man has been sentenced to six years in state prison for carjacking an Uber driver’s vehicle last month.

Jamerious Hicks, also known as Deveon Deonteray Wilson, pleaded no contest to the carjacking and admitted an allegation that he used a deadly weapon during the crime, according to the Los Angeles County District Attorney’s Office.

The 26-year-old defendant got into the Uber vehicle, the driver of which had responded to a call for a pickup near the intersection of Broadway Place and 39th Street in Los Angeles on the evening of Jan. 5. Hicks hit the driver with a wrench once he was inside the vehicle, according to Deputy District Attorney Brian Rosenberg.

The defendant drove off with the vehicle after the victim pulled over and fell from the car, according to the prosecutor.

Hicks was arrested that night.