The entire police force of the Mexican town of Ocampo has been detained on suspicion of involvement in the murder of a candidate.

 The whole police force in a Mexican town of Ocampo where a mayoral candidate was slain this week has been detained, Mexican officials said on Sunday.

Prosecutors accuse the officers and of links with organised crime groups in the town.

“All of them are being interviewed to proceed as due under law in the event anyone has taken part in acts that violate the town’s codes,” said the security secretariat in Michoacan state, where the town of about 20,000 people is located.

Mexicans will go to the polls next Sunday to choose a new president, senators and members of the Chamber of Deputies.

Mayoral candidate Fernando Angeles was shot dead last Thursday when he was preparing for campaign events.

On Wednesday, Omar Gomez, an independent candidate for mayor of Aguililla, also in Michoacan, was shot to death.

On June 14, a candidate for mayor of Taretan, in the same state, was also killed.

Since the campaign season started in Mexico, which will conclude with elections on July 1, more than a hundred politicians and candidates, mostly local, have been murdered.

Mexico is experiencing a wave of violence linked to organized crime that made 2017 the most violent year in two decades, with 25,339 homicides.