Treaty of Córdoba
The Treaty of Córdoba established Mexican independence from Spain at the conclusion of the Mexican War of Independence. It was signed on August 24, 1821 in Córdoba, Veracruz, Mexico. The signatories were the head of the Army of the Three Guarantees, Agustín de Iturbide, and, acting on behalf of the Spanish government, "Jefe Político Superior" Juan O'Donojú. The treaty has 17 articles, which developed the proposals of the Plan of Iguala. The Treaty is the first document in which Spanish (without authorization) and Mexican officials accept the liberty of what will become the First Mexican Empire, but it is not today recognized as the foundational moment, since these ideas are often attributed to the Grito de Dolores (September 16, 1810). The treaty was rejected by the Spanish government. Spain did not recognize Mexico's independence until December 1836.
Japan–Mexico relations
In 1874 (fifty-three years after Mexico declared independence from Spain in 1821), a Mexican scientific delegation headed by Francisco Díaz Covarrubias arrived in Japan to witness the transit of the planet Venus through a solar disc. Although the scientific delegation did not have much success, this mission did allow for formal diplomatic relations to begin between the two nations. In 1888 Foreign Ministers Matías Romero and Munemitsu Mutsu signed a Treaty of Amity, Commerce, and Navigation; which was to be Japan's first "equal" treaty with a foreign nation and thus formally established diplomatic relations between the two nations.