In the
Napoleonic era,
junta ( or ) was the name chosen by several local administrations formed in
Spain during the
Peninsular War as a patriotic alternative to the official administration toppled by the French invaders. The juntas were usually formed by adding prominent members of society, such as
prelates, to the already-existing
ayuntamientos (municipal councils). The juntas of the capitals of the traditional peninsular kingdoms of Spain styled themselves "Supreme Juntas," to differentiate themselves from, and claim authority over, provincial juntas. Juntas were also formed in Spanish America during this period in reaction to the developments in Spain.