Bolivia's Senate approved nationalization contracts with foreign oil companies during a hastily called session that ended early Wednesday morning.
The deals, which were signed last month, were drawn up according to the terms of President Evo Morales' May 1 nationalization of Bolivia's petroleum industry.
The agreements grant Morales' government a majority share of foreign companies' revenues generated in Bolivia as well as control over their operations in the country.
Companies signing contracts include Brazilian state energy giant Petrobras, Spanish-Argentine company Repsol YPF, the French company Total SA, and British Gas, a unit of BG Group PLC.
Bolivia's natural gas reserves are South America's largest after Venezuela's.
Earlier in the session, lawmakers broke a weeklong boycott to approve a controversial land reform bill that Morales has proposed.
The conservative opposition party Podemos, which led the boycott, holds 13 of the Senate's 27 seats. With help from two senators from minor opposition parties, Podemos had earlier prevented the body from reaching a 14-seat quorum.
Morales' Movement Toward Socialism party, or MAS, has 12 Senate seats.
But Tuesday night, one Podemos senator returned to the chamber to vote for land reform, joined by assistants filling in for two other opposition senators.
Opposition leaders have accused Morales' government of bribing the senators' assistants, a charge the president has denied.
Morales' agrarian reform law grants his government the power to seize unproductive land for redistribution to Bolivia's landless poor.
With the additional support in the Senate, MAS approved the nationalization contracts.