Venezuela's legislature can now pass laws again after the Supreme Court briefly stripped that power.
President Nicolás Maduro and his United Socialist Party have been in a drawn-out political battle after losing control of the National Assembly, the country's legislative body.
After protesters and politicians accused Maduro of trying to install a dictatorship, he said the decision had been reversed.
It's an important step because Venezuela's government has big problems aside from the political turmoil. The country is currently struggling with an economic crisis and a massive food shortages. A survey found the average citizen has lost nearly 20 pounds in the past year.