A chemical smell at Binghamton City Hall that resulted in a hazmat team being dispatched was traced to police headquarters.

Bob Joseph/WNBF News

Authorities say the fire department received a call reporting an odor of chlorine on the second floor of the building at the corner of Hawley and State streets.

The hazmat unit was called to City Hall just before 11:30 a.m. Wednesday as a precaution.

When firefighters checked out the office area where the odor had been detected, they noticed nothing out of the ordinary. They were told the smell "comes and goes."

Upon further investigation, officials were able to pinpoint the source of the chlorine smell. It was the chlorine solution that is routinely used to clean the police lockup.

The source was identified before the hazmat team arrived at City Hall.

The chlorine odor from the lockup cleaning procedure has been noticed in the offices above the police station occasionally in the past.

For breaking news and updates on developing stories, follow @BinghamtonNow on Twitter.