New York City has distanced itself from a high-ranking police official accused of firing pepper spray at Occupy Wall Street protesters, taking the unusual step of declining to defend him in a civil lawsuit over the incident.

The decision means Deputy Inspector Anthony Bologna also could be personally liable for financial damages that may arise out of the suit, said lawyers familiar with similar civil-rights claims.

The...