The Colonization Law of August 18, 1824 was a Mexican statute allowing foreigners to immigrate to the country.