A Fairfield man, who police said suffered an unknown medical emergency while struggling with correctional officers this week, died Thursday morning.

Fred Barlow, 61, was arrested Tuesday on suspicion of public intoxication and resisting, obstructing, or delaying a peace officer after a caller reported he was acting strangely and trying to enter a building, police said.

When Barlow arrived at Solano County Jail he struggled with correctional staff, and began to suffer from an unknown condition, said Sgt. Matt Bloesch, a Fairfield police spokesman. He was taken to a hospital, where he died on Thursday.

“The Fairfield Police Department recognizes this is a tragic event and we offer our sincere condolences to the Barlow family,” the department said in a statement. “Our thoughts and prayers are with them during this time of grief.”

A 911 call came in about 9:20 p.m. from a person at a motel in the 2100 block of North Texas Street reporting a man later identified as Barlow was pacing, yelling and trying to enter the building.

The caller said Barlow had blood in his mouth, Bloesch said. Barlow’s physical condition before the arrest was being investigated.

Barlow charged at two responding officers, then two more officers arrived and handcuffed him after a short struggle, authorities said.

Officers applied a Velcro strap to Barlow’s ankles after he started kicking at them. He was still able to walk to the police car, Bloesch said.

Barlow was awake, alert, and talking during the 3-minute drive to the jail, according to officials.

His medical emergency began after a physical confrontation with officers at the jail, who began CPR and called paramedics. Barlow was taken to a local hospital, where he died. Bloesch said police were investigating the nature of the force used on Barlow throughout the night.

The death is being investigated by the Fairfield Police Department, Solano County Sheriff’s Office, and the Solano County District Attorney’s Office.