Updated

The Brazilian officer who resigned this week as commander of Rio de Janeiro state's investigative police has been formally accused of leaking information about a corruption bust involving cops.

Allan Turnowski says he is being accused by federal police of leaking word of their investigation into corrupt police to at least one of the 30 officers arrested.

Under Brazilian law, a prosecutor still must study the investigation and decide if charges are warranted.

Turnowski said Thursday that he is innocent. If charged and found guilty, he could face two years in prison.

Rio is trying to root out corrupt police and improve security before the city hosts the 2014 World Cup and the 2016 Olympics.