A fourth person has been charged with attacking a trio of Chicago police officers Monday afternoon and locking them inside a home in the South Side Englewood neighborhood.

About 2:30 p.m., police were arresting a person for spitting into an officer’s face in the 7000 block of South Throop when another person came up and threw a piece of wood at the back of an officer’s head, police said.

When the officers chased the person into a nearby home, other residents locked them inside, police said. The officers eventually got out and took three suspects into custody.

Senneca Traylor, 19, was charged with four counts of aggravated battery to a police officer and two counts of resisting or obstructing an officer, police said.

Senneca Traylor | Chicago police

Janice Lewis, 20, was charged with one count of aggravated battery to an officer, police said.

Janice Lewis | Chicago police

Robert Williams, 28, was charged with two counts of unlawful restraint and one count of resisting or obstructing a police officer, police said.

Robert Williams | Chicago police

On Tuesday, police announced that 18-year-old Tashawn Booker had also been taken into custody in connection with the incident. He was charged with two counts of unlawful restraint, police said.

Tashawn Booker | Chicago police

All four suspects live in Englewood, according to police.

They all appeared in court for bail hearings Tuesday before Judge Stephanie K. Miller, according to Cook County court records. Traylor and Williams were ordered held without bail, while bond was set at $10,000 for Lewis and Booker. All four of them were scheduled to appear in court again Oct. 15.

Three officers were taken to local hospitals after the incident before being treated and released, police said. Authorities did not provide details about their injuries.