Ecuador’s Constitutional Court on Thursday paved the way for early legislative and presidential elections, rejecting a series of cases brought by opposition politicians to block President Guillermo Lasso’s decision to dissolve the National Assembly.

Members of opposition parties, along with social organizations, had presented six separate cases to the court, asking it to declare Lasso’s decision to dissolve the National Assembly by decree unconstitutional.

Lasso on Wednesday invoked the constitution’s “two-way death” provision, which allows the president to call early elections under certain circumstances, including if actions by the legislature are blocking the functioning of government.

The embattled leader, who faced an impeachment attempt by opposition politicians, cited Ecuador’s serious political crisis and domestic turmoil as reasons for making the move.