Three Weeks before the fall of Mexico City and the final victory over its conservative adversaries, the liberal government of Benito Juárez issued a law, on December 4, 1860, establishing freedom of religion in Mexico. Such a law had been a liberal objective throughout the early Reforma period and during the War of the Reform as well. In mid-1859 the Juárez government had issued a manifesto which stated that religious toleration was a requirement for national prosperity. The liberals saw toleration as an important precondition for foreign immigration—and immigration had been an established panacea for national problems since the achievement of independence in 1821. The 1860 law served to vindicate part of the Reforma program. It also sought to resolve almost four decades of debate on the relationship between foreigners, immigration, and religious toleration.