The chief prosecutor of the inquiry looking into police surveillance of journalists has resigned.

Last week Quebec's Federation of Journalists called Bernard Amyot's neutrality into question and asked him to step down.

Amyot has been openly critical of the media, including writing an opinion piece in 2008 where he took aim at La Presse columnist Patrick Lagacé

In an article which appeared in The Metropolitan Amyot called Lagacé "neither a journalist nor an analyst."

Lagacé is one of the journalists at the centre of the police surveillance controversy that will be investigated by a commission overseen by Judge Jacques Chamberland.

Amyot called the complaints unfounded but said he would resign for the good of the commission.