Title: Federal government of Mexico
Content:  The Federal government of Mexico (alternately known as the Government of the Republic or Gobierno de la República) is the national government of the United Mexican States, the central government established by its constitution to share sovereignty over the republic with the governments of the 31 individual Mexican states, and to represent such governments before international bodies such as the United Nations. The Mexican federal government has three branches: executive, legislative, and judicial and functions per the Constitution of the United Mexican States, as enacted in 1917, and as amended. The executive power is exercised by the executive branch, which is headed by the president and his Cabinet, which, together, are independent of the legislature. Legislative power is vested upon the Congress of the Union, a bicameral legislature comprising the Senate and the Chamber of Deputies. Judicial power is exercised by the judiciary, consisting of the Supreme Court of Justice of the Nation, the Council of the Federal Judiciary, and the collegiate, unitary, and district courts.
Title: State governments of Mexico
Content:  State governments of Mexico are those sovereign governments formed in each Mexican state. Structured in accordance with the constitution of each state, state governments in Mexico are modeled on the federal system, with three branches of government — executive, legislative, and judicial, and are formed based on the congressional system. Mexico's central federal government, on the other hand, represents the United Mexican States before international bodies such as the United Nations. The executive power is exercised by the executive branch, which is headed by the state's governor, advised by a cabinet of Secretaries that are independent of the legislature. Legislative power is vested upon the congress of the state. Judicial power is exercised by the various local tribunals (Ministerio de Justicia) and the state's Supreme Court of Justice.
Title: Politics of Mexico
Content:  The politics of Mexico take place in a framework of a federal presidential representative democratic republic whose government is based on a congressional system, whereby the President of Mexico is both head of state and head of government, and of a multi-party system. The federal government represents the United Mexican States and is divided into three branches: executive, legislative and judicial, as established by the Political Constitution of the United Mexican States, published in 1917. The constituent states of the federation must also have a republican form of government based on a congressional system as established by their respective constitutions. The executive power is exercised by the executive branch, which is headed by the President, advised by a cabinet of secretaries that are independent of 
Title: Mexico
Content:   The United Mexican States are a federation whose government is representative, democratic and republican based on a presidential system according to the 1917 Constitution. The constitution establishes three levels of government: the federal Union, the state governments and the municipal governments. According to the constitution, all constituent states of the federation must have a republican form of government composed of three branches: the executive, represented by a governor and an appointed cabinet, the legislative branch constituted by a unicameral congress and the judiciary, which will include a state Supreme Court of Justice. They also have their own civil and judicial codes. The federal legislature is the bicameral Congress of the Union, composed of the Senate of the Republic and the Chamber of Deputies. The Congress makes federal law, declares 
Title: History of democracy in Mexico
Content:  With the fall of Iturbide's monarchy, Mexican leaders began crafting a constitution, creating a federal republic. A Second Constituent Congress was formed, which represented the provinces and people of Mexico more equitably, moving away from authoritarianism and towards democratic representation. The 1824 Constitution made Mexico a federal republic with a president, vice president, a bicameral legislature, and a judiciary. In addition to the federal government, the constitution established 19 states, each of which would elect a governor and state congress.
Title: List of heads of state of Mexico
Content:  The Head of State of Mexico is the person who controls the executive power in the country. Under the current constitution, this responsibility lies with the President of the United Mexican States, who is head of the supreme executive power of the Mexican Union. Throughout its history, Mexico has had several forms of government. Under the federal constitutions, the title of President was the same as the current one. Under the Seven Laws (centralist), the chief executive was named President of the Republic. In addition, there have been two periods of monarchical rule, during which the executive was controlled by the Emperor of Mexico. The chronology of the heads of state of Mexico is complicated due to the country's political instability during most of the nineteenth century and early decades of the twentieth century. With few exceptions, most of the Mexican presidents elected during this period did not complete their terms. Until the presidency of Lázaro Cárdenas, each president had remained in office an average of fifteen months. This list also includes the self-appointed presidents during civil wars and the collegiate bodies that performed the Mexican Executive duties during periods of transition.
Title: State governments of Mexico
Content:  The State of Mexico is governed according to the Constitution of the State of Mexico and the law of the State of Mexico. The previous constitutions of 1827, 1861, and 1870 were replaced in 1917. The government is composed of legislative, executive, and judicial branches. The legislative branch is composed of the Mexico State Legislature; the executive branch is composed of the Governor, Cabinet, and Public Prosecutor; and the judicial branch is composed of the Judicial Council, High Court of Justice, and inferior courts.
Title: Politics of Mexico
Content:  in power. In time, the system gradually became, as some political scientists have labeled it, an "electoral authoritarianism", in that the party resorted to any means necessary, except that of the dissolution of the constitutional and electoral system itself, to remain in power. In fact, Mexico was considered a bastion of continued constitutional government in times where coup d'états and military dictatorships were the norm in Latin America, in that the institutions were renovated electorally, even if only in appearance and with little participation of the opposition parties at the local level.  The lack of the establishment of a true democracy in Mexico can 
Title: Outline of Mexico
Content: Form of government: federal presidential and congressional multi-party representative democratic republic ; Head of state: President of Mexico, Andrés Manuel López Obrador ; Head of government: President of Mexico, Andrés Manuel López Obrador ; Capital of Mexico: Mexico City ; Elections in Mexico ; 1988 - 1991 - 1994 - 1997 - 2000 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 - 2009 - 2012 - 2018 ; Political parties in Mexico Politics of Mexico
Title: History of Mexico
Content:  Those who overthrew the emperor then nullified the Plan of Iguala, which had called for a constitutional monarchy, as well as the Treaty of Córdoba, leaving them free to choose their whatever form of government they could agree on. It was to be a federal republic, and 4 October 1824, the United Mexican States (Spanish: Estados Unidos Mexicanos) was established. The new constitution was partly modeled on the constitution of the United States. It guaranteed basic human rights and defined Mexico as a representative federal republic, in which responsibilities of government were divided between a central government and a number of smaller units called states. It also defined Catholicism as the official and only religion 

Question: what type of government did mexico have?
Answer: Federal republic.