A tractor-trailer was reportedly leaking a hazardous chemical after getting stuck under a bridge in Worcester, Massachusetts, on Thursday afternoon.

The accident occurred around 1 p.m. on Cambridge Street, and police said a regional hazardous materials team was at the scene. The truck was carrying cumene hydroperoxide, which fire officials said can be an irritant to the skin if touched.

The chemical leak forced residential and commercial evacuations in the area.

There were detours in and around Cambridge Street near Southbridge Street and Brosnihan Square for several hours. Police had warned drivers to avoid the area and expect delays.

People who usually walk under the tracks were redirected and told to take a 20-minute walk around them.

By about 9 p.m., the Worcester Fire tweeted that crews had diluted the chemical but fire officials remained on scene to removed the tractor-trailer and continue their investigation.