The Congress of Tucumán was called while San Martín was preparing the crossing of the Andes. It declared independence from Spain or any other foreign power.