FORT DODGE, Iowa (AP) — An assault by an inmate at a prison in Fort Dodge has left an officer with minor injuries.

The Iowa Department of Corrections says that on Sunday afternoon, an inmate at the Fort Dodge Correctional Facility attacked a correctional officer.

Officials say the attack happened about 4 p.m. when the inmate pushed the officer backward and then attempted to hit the officer. The officer responded with pepper spray and other officers quickly tried to subdue the inmate.

The officer and the inmate were taken to a local hospital and then released.

The Corrections Department didn’t identify the officer or inmate.