the assembly of the year xiii was closed, but a new one was formed later, the congress of tucumán. to avoid the animosity against buenos aires, it was not located in that city but in tucumán. the congress did not include deputies from the provinces ruled by artigas, and included others from provinces which are currently part of bolivia. the congress finally declared the independence of the united provinces. there was a plan to move the capital to cuzco and crown an inca as king, which was resisted by buenos aires. the congress moved then to buenos aires, which could influence them better. the inca plan was forgotten, and the congress drafted the 1819 constitution. this constitution did not choose a specific type of government, but the elites in buenos aires thought to bring a european prince to buenos aires and appoint him king. estanislao lópez and francisco ramírez resisted the project, and attacked buenos aires. neither san martín nor belgrano provided military help. buenos aires fell in the battle of cepeda, which ended the authority of the supreme directors. the defeat started the "anarchy of the year xx", a period where the provinces would rule themselves without a national head of state.