A pool cleaner was injured Friday afternoon at the Presidio golf course by a chemical release while mixing chlorine with muriatic acid, the San Francisco Fire Department said.

The man was working on the jacuzzi hot tub in the clubhouse of the Presidio Golf & Concordia Club at 8 Presidio Terrace when he inhaled fumes about 12:48 p.m., Capt. Mariano Elias said.

The combination of chlorine and muriatic acid produces deadly chlorine gas. The man took himself to a local hospital and was in stable condition, Elias said.

The chemicals, including a 55-gallon drum, were outdoors when the incident occurred, he said.

“We contained the material and once that was done, the Department of Public Health took it over and they’re going to dispose of it properly,” Elias said.

Residents and businesses in the immediate area were asked to avoid the location while operations were under way.