Bolivia's Congress has accepted the resignation of President Carlos Mesa after three weeks of protests and blockades.
The majority indigenous population has been calling for the nationalization of the country's energy reserves.
The head of the country's Supreme Court, Eduardo Rodriguez, has been sworn in as interim president, in a move aimed at bringing forward elections and defusing weeks of unrest.
The parliament met in the city of Sucre, instead of its headquarters in the capital La Paz, to avoid violent street protests by tens of thousands of farmers, miners and other workers.