The chief of the national police in Ecuador, Freddy Martinez, said Friday that he was resigning effectively immediately.
His departure comes a day after a chaotic uprising by police officers left President Rafael Correa trapped for several hours in a hospital. Troops loyal to the president arrived at the hospital and rescued him Thursday evening; two police officers were killed.
The police officers said they were angered by a new law that would take away their bonuses and reduce their compensation. The president, who was roughed up and hit by tear gas, said the law would do no such thing and said the police officers had not even read it.
Hours after the rescue, Correa repeated his claim that compensation issues were merely a pretext for police to kidnap him and try to overthrow his government.
"It was an attempt and a perfectly coordinated conspiracy," he said late Thursday.