The Mexican Constitution of 1824 was the fundamental legal document that established Mexico as a federal republic, following its independence from Spain in 1821. This constitution marked a significant shift in governance, promoting the division of powers among the executive, legislative, and judicial branches, while also recognizing the rights of citizens and the autonomy of individual states. Its creation reflected the ideals of liberalism and federalism that were influential at the time, shaping the political landscape in Mexico and directly impacting regions like New Mexico.