Updated

The West African regional body has denounced an electoral code passed by Burkina Faso's transitional government in April, asking it to remove obstacles that could impede October elections.

Burkina Faso's former ruling party had filed a complaint to the West African regional court over the code, which states that anyone who supported ex-President Blaise Compaore's bid to stay in office can't stand in the upcoming election.

The Economic Community Of West African States said Monday the code was a "violation of the right to participate in fair elections" and asked the government to remove all "obstacles contained in the new electoral code and that can prevent participation to polls."

Compaore ruled for 27 years before a popular uprising forced him to resign and flee the country to Ivory Coast.