The constitution of 1917 integrated the reforms fought for in the revolution, in the law, under Carranza's authority. It allowed the government to take wealthy landowners' land and redistribute it. It set minimum wages and max hours. Under it, the government sponsored retirement, life, health, and unemployment insurance programs. It gave workers the right to organize strikes and labor unions. It also gave all Mexicans freedom of religion and free public school education. It even nationalized the country's mineral and oil resources. However, Carranza was not able to actually carry out all the services promised in the constitution. Because of this, workers chose Alvaro Obregon to be president. Carranza ran away with the nation's treasury but he was caught and killed.