Top of page

Cinco de Mayo and the History of Mexican Codification

Share this post:

The following is a guest post by Seth Brostoff, a legal metadata intern, who has been working at the Law Library of Congress for several months describing and creating metadata for a collection of Hispanic Legal Documents that span from the 15th to 19th centuries. 

Now that the dust of the celebrations surrounding Cinco de Mayo has settled, this might be a better time for a more sober but certainly fascinating subject for our Mexicanists to ponder. 

I thought it would be interesting to explore the relationship between the events surrounding Cinco de Mayo–the Mexican holiday commemorating Mexico’s victory over the French at the Battle of Puebla–and the history of Mexican codification.


As a civil law country, Mexico relies heavily on various codes (the Civil Code, the Commercial Code, etc.) for its primary legislation.  Yet when Mexico started its movement towards independence from Spain in 1810, it was governed by Spanish law, which had not been codified.  The movement to create a national civil code for Mexico only really begins with the Mexican Constitution of 1857, and with the rise to power of Benito Juárez, an indigenous lawyer of Zapotec ancestry who became, first, president of the Mexican Supreme Court, and soon after, the president of Mexico.

Benito Juárez, head-and-shoulders portrait, facing front, (between 1850 – 1872), from the Library of Congress Prints and Photographs Online Catalog (PPOC),

Codification Efforts

The Constitution of 1857 replaced the long dictatorial rule of Santa Anna, and its promulgation of new individual rights represented a movement towards liberalism and secularism.  As part of Juárez’s larger agenda, to cement the reach and permanence of the constitutional settlement, the president entrusted Justo Sierra O’Reilly with the task of systematizing Mexican law in one national civil code.  According to Cruz Barney, Sierra O’Reilly finally produced a draft civil code in 1860, largely based on Florencio García Goyena’s “proyecto,” a proposed Spanish-language adaptation of the Napoleonic Code, as well as other sources such as the Louisiana Civil Code.  Before Sierra O’Reilly’s draft could be adopted, however, the French under Napoleon III invaded Mexico, and–despite an early Mexican victory on May 5, 1862 at the Battle of Puebla–forced Juárez and the Liberals from power and launched the Second Mexican Empire.

Maximilian, Emperor of Mexico, ca. 1864, from the Library of Congress Prints and Photographs Online Catalog (PPOC),

The French placed a sympathetic Austrian archduke on the Mexican throne as Emperor Maximilian I.  The French intervention and Maximilian’s rise to power, however, did not end the process of codification.  Indeed, Maximilian’s government appears to have adopted much of the commission’s work, revised various articles, and then promulgated the first two books of the short-lived Código Civil del Imperio Mexicano in 1866 (hereafter, the 1866 Civil Code).

“Código Civil del Imperio Mexicano,” 1866, México: Imprenta de Andrade y Escalante, Bajos de San Agustín Núm. 1, 1866. Photo by Francisco Macías

A year later, the process of codification was interrupted once more by political events.  In 1867, while the third book was at the printer’s and the fourth was under editorial review, Mexican forces expelled the French and executed Maximilian.  The old Constitution of 1857 was restored, and the 1866 Civil Code was abrogated.  The Mexican government returned to the codification project in 1868, drafting a new federal civil code which it finished in 1870.  This second national civil code (hereafter, the 1870 Code) incorporated aspects of both Sierra O’Reilly’s 1861 draft civil code and the 1866 Civil Code.  The 1870 Code was subsequently promulgated on December 8, 1870 and entered into effect on March 1, 1871.

This new national civil code was initially only applicable to Mexico’s Federal District (Mexico City) and Baja California territory (today, the Mexican states of Baja California and Baja California Sur), but in rapid order most Mexican states adopted the federal code verbatim as their new state civil codes.

Structurally, both the 1866 and 1870 Codes were divided into four books, titled 1. De las personas (Matters concerning personal rights and family law); 2. De los bienes, la propiedad y sus diferentes modificaciones (Matters concerning property law, including real property and moveable property); 3. De los contratos (Matters concerning the law of contracts, loans and mortgages, and other obligations); and 4. Sucesiones (Matters concerning succession, or the law of inheritance).  The first title (or título preliminar) briefly describes the rules that jurists should use when interpreting and applying the code.  The four books themselves are then divided into titles, chapters, and articles.  The 1870 Code, for example, contains 4,126 separate articles. The Code’s structure in four books covering persons, property, obligations, and inheritance is more or less consistent with the division of subject matter in several other Latin American civil codes.

The 1850s and 1860s were important decades in the history of Latin American codification, and Mexico was no exception.  What is interesting is that Mexican codification proceeded apace despite the foreign intervention and tremendous political upheaval that occurred during this period.

Further reading

The Library possesses several general histories of Mexican law, as well as specific works on Mexican codification and its historical context, which may be of interest:

While we’re on the subject of Mexico, something we didn’t mention–but that our readers may like to know–is that this year marks the centennial of the Mexican Constitution of 1917.

Add a Comment

This blog is governed by the general rules of respectful civil discourse. You are fully responsible for everything that you post. The content of all comments is released into the public domain unless clearly stated otherwise. The Library of Congress does not control the content posted. Nevertheless, the Library of Congress may monitor any user-generated content as it chooses and reserves the right to remove content for any reason whatever, without consent. Gratuitous links to sites are viewed as spam and may result in removed comments. We further reserve the right, in our sole discretion, to remove a user's privilege to post content on the Library site. Read our Comment and Posting Policy.

Required fields are indicated with an * asterisk.