Before the Civil Code, there had been several attempts to this effect, without success. In 1824, Juan Gregorio de las Heras issued a decree appointing one commission charged with compiling the Commercial Code and another charged with compiling the Military Code, but neither of these two projects' efforts came to fruition. In 1831, the Legislature of Buenos Aires adopted the Spanish Commercial Code compiled in 1829 and created a commission to see to any reforms to it that might be necessary. In 1852, Justo José de Urquiza created a commission of 14 members for the compilation of the Civil, Penal, Commercial and Procedural Codes. However, the revolution of September 11 of that year, which resulted in the secession of the Province of Buenos Aires from the Argentine Confederacy, prevented this project from making any concrete progress.