Bolivia’s Senate has approved a measure calling for new presidential elections that would exclude ousted leader Evo Morales.

The bill approved Saturday doesn’t set a date.

The election is a key step to pacifying a nation that has been in upheaval since an Oct. 20 vote in which Morales claimed to have won an outright victory. That prompted massive protests that led him to resign on Nov. 10 at the army’s suggestion. Then Morales’ own supporters took to the streets in protest.

Senator Adriána Salvatierra, of the Movement Towards Socialism party, speak during the session were the Senate approved a bill on holding new elections in La Paz, Bolivia, Saturday, Nov. 23, 2019. Bolivia is struggling to stabilize after weeks of anti-government protests and violence in which at least 30 people have been killed. President Evo Morales resigned on Nov. 10 after an election that the opposition and international observers said was rigged. (AP PhotoJuan Karita)

Senator Adriána Salvatierra, of the Movement Towards Socialism party, speak during the session were the Senate approved a bill on holding new elections in La Paz, Bolivia, Saturday, Nov. 23, 2019. Bolivia is struggling to stabilize after weeks of anti-government protests and violence in which at least 30 people have been killed. President Evo Morales resigned on Nov. 10 after an election that the opposition and international observers said was rigged. (AP PhotoJuan Karita)

Officials say at least 32 people have died.

The measure forbids reelection of anyone who has served two consecutive terms as president. Morales’ rejection of such a rule was a key issue in protests against him.

The measure now goes to the lower house.

Bolivia's President Evo Morales speaks during a press conference at the military base in El Alto, in the outskirts of La Paz, Bolivia, Nov. 10, 2019. Hours later Morales announced his resignation under mounting pressure from the military and the public after his re-election victory triggered weeks of fraud allegations and deadly protests. (AP PhotoJuan Karita)

Bolivia's President Evo Morales speaks during a press conference at the military base in El Alto, in the outskirts of La Paz, Bolivia, Nov. 10, 2019. Hours later Morales announced his resignation under mounting pressure from the military and the public after his re-election victory triggered weeks of fraud allegations and deadly protests. (AP PhotoJuan Karita)