Argentina has had many different types of heads of state as well as many different types of government. During pre-Columbian times, the territories that today form Argentina were inhabited by nomadic tribes without any defined government. During the Spanish colonization of the Americas, the King of Spain retained the ultimate authority over the territories conquered in the New World, appointing viceroys for local government. The territories that would later become Argentina were first part of the Viceroyalty of Peru and then the Viceroyalty of the Río de la Plata. The May Revolution started the Argentine War of Independence by replacing the viceroy Baltasar Hidalgo de Cisneros with the first national government. It was the Primera Junta, a junta of several members, which would grow into the Junta Grande with the incorporation of provincial deputies. The size of the juntas gave room to internal political disputes among their members, so they were replaced by the First and Second Triumvirate, of three members. The Assembly of the Year XIII created a new executive authority, with attributions similar to that of a head of state, called the Supreme Director of the United Provinces of the Río de la Plata. A second Assembly, the Congress of Tucumán, declared independence in 1816 and promulgated the Argentine Constitution of 1819. However, this constitution was repealed during armed conflicts between the central government and the Federal League Provinces. This started a period known as the Anarchy of the Year XX, when Argentina lacked any type of head of state.