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.

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.

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.

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