The Junta, Junta General, Juntas, or Cortes of the Kingdom of Galicia was the representative assembly of the Kingdom of Galicia from the 15th century —when it originated as a general assembly of all the powers of the Kingdom aimed at the constitution of hermandades (brotherhood)— and until 1834, when the Kingdom and its General Assembly were officially disbanded by a Royal decree. It declared itself the supreme authority of the Kingdom from June 18, 1808, during the Peninsular war and due to the abdication of the King, and until Galicia was conquered by the Napoleonic troops in 1809.
Initially the Xuntas Generales del Reino de Galicia was an assembly where representatives of the three states of the Kingdom (noblemen, churchmen, and the commoners) met. But soon it followed the evolution prompted by the King of Spain in other representative institutions, such as the Cortes of Castile, so becoming monopolized by the bourgeoisie and lesser nobility (fidalgos), who controlled most of the local councils of the cities and towns of the Kingdom, and at the expenses of Church and nobility. From 1599 the composition of the assembly became fixed and reduced to just seven deputies, each one representing one of the Kingdom provinces, and appointed by the council of the province's capital —Santiago de Compostela, A Coruña, Betanzos, Lugo, Mondoñedo, Ourense, and Tui— from among its members. Other towns, namely Viveiro and Pontevedra, tried during the 17th and 18th century to regain a direct representative in the assembly, to no effect.