An ex-Sydney mayor who was branded corrupt and dumped from council is now headed to court on charges of blackmail, misconduct in public office and lying to the ICAC.

Former Ryde mayor Ivan Petch came to the watchdog’s attention after attempting to leak porn found on a council employee’s laptop to the media. A local newspaper declined to run the story, but the employee – then-general manager John Neish – quit anyway. Petch, a former NSW MP, has been…