CORCORAN, Kings County (CBS SF / AP) — Authorities say an inmate at a state prison in the Central Valley stabbed a correctional officer at a drug abuse treatment facility.

Officials said Monday that California State Prison-Corcoran inmate Jubenal Mendoza distracted prison staff while inmate Edwin Perez used a makeshift weapon to stab the officer on the head and neck.

READ MORE: New Twitter CEO Parag Agrawal Steps From Behind The Scenes To High Profile

The Department of Corrections and Rehabilitation says the officer, who was not identified, was taken to a hospital after the attack Sunday and is recovering at home.

Department officials say that Perez and Mendoza were taken to another prison.

READ MORE: Santa Clara Shoe Store Ransacked in Late Night Smash-and-Grab Robbery

The department says Perez is serving 55 years to life with the possibility of parole for carjacking with the use of a firearm and second-degree murder.

Mendoza is serving seven years for two counts of second-degree robbery.

MORE NEWS: Niles Canyon Road Between Fremont, Sunol To Be Closed Over Weekend For Construction

© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.