RANCHO CORDOVA, Calif. (KTXL) — The Sacramento County Sheriff’s helicopter had an emergency landing in a field Sunday afternoon, according to the Sacramento Metropolitan Fire District.

The landing occurred near Douglas Road and Grant Line Road in Rancho Cordova.

According to Metro Fire, preliminary information said two deputies were in the helicopter when it landed. Sacramento County Sheriff’s Office said that all personnel in the craft were okay.

Neither of the two deputies in the helicopter required medical attention. Both deputies involved in the incident are trained pilots.

The sheriff’s office said that the officers were in the middle of a routine patrol when they needed to make an emergency landing.

The Sacramento County Sheriff’s Office is working with the Federal Aviation Administration and National Transportation Safety Board to determine what caused the emergency landing.