Nicaraguan police beat protesters and harass journalists

7 PHOTOS
NTP: Nicaraguan police beat protesters and harass journalists
See Gallery
Nicaraguan police beat protesters and harass journalists
A riot policeman pulls a man from his leg during a clash with demonstrators protesting against the electoral system in Nicaragua, in Managua on July 8, 2015 . AFP PHOTO/ Inti OCON (Photo credit should read Inti Ocon/AFP/Getty Images)
Police and demonstrators clash during a protest against the electoral system in Nicaragua, in Managua on July 8, 2015 . AFP PHOTO/ Inti OCON (Photo credit should read Inti Ocon/AFP/Getty Images)
Demonstrators protest against the electoral system in Nicaragua, in Managua on July 8, 2015 . AFP PHOTO/ Inti OCON (Photo credit should read Inti Ocon/AFP/Getty Images)
Congressman for THE PLI Jose Matus after he was hit by police during a protest against the electoral system in Nicaragua, in Managua on July 8, 2015 . AFP PHOTO/ Inti OCON (Photo credit should read Inti Ocon/AFP/Getty Images)
Parlacen deputy Augusto Valle after he was hit by police during a protest against the electoral system in Nicaragua, in Managua on July 8, 2015 . AFP PHOTO/ Inti OCON (Photo credit should read Inti Ocon/AFP/Getty Images)
A demonstrator is hit by police during a protest against the electoral system in Nicaragua, in Managua on July 8, 2015 . AFP PHOTO/ Inti OCON (Photo credit should read Inti Ocon/AFP/Getty Images)
Riot police during a protest against the electoral system in Nicaragua, in Managua on July 8, 2015 . AFP PHOTO/ Inti OCON (Photo credit should read Inti Ocon/AFP/Getty Images)
HIDE CAPTION
SHOW CAPTION
of
SEE ALL
BACK TO SLIDE

MANAGUA, Nicaragua (AP) — Nicaraguan police have beaten and detained opposition demonstrators and harassed journalists outside the country's top electoral council.

The demonstrators were attending a weekly demonstration in Managua on Wednesday to demand fair election rules and a change of electoral magistrates ahead of the 2016 presidential election.

Police initially tried to block protesters from reaching the electoral council offices, but they pushed past a police barricade.

Police roughed up several photographers and broke the lens of an Associated Press photographer.

Police also detained but later released nine lawmakers from the opposition Independent Liberal Party.

Government opponents contend the ruling Sandinista party has skewed electoral rules and oversight in its own favor.

More from AOL.com:
Greek shipyards face bleak future
Thai farmers ask spirits for rain to end crippling drought
Image of Asia: Soaked by typhoon rains in the Philippines
Read Full Story