The pool had not been inspected in about a year, and its permit had expired Dec. 31, the city’s mayor, William Flanagan, said yesterday. He would not elaborate on the permitting process.

Flanagan put two inspectors, who had stopped by the pool Monday, on paid administrative leave and ordered the immediate inspection of 21 public and semipublic pools in the city, including hotel pools.

Lifeguards and swimmers who were at the pool Monday and Tuesday told investigators the water had become murky since Sunday, raising the grisly possibility the body’s decomposition may have been contributing to the decreasing clarity.