established in 1562 the permanent capital in Madrid, seat of the Royal Court and of the administrative staff,<ref>{{cite book|url=https://books.google.com/books?id=VV2Nn8f3OKgC&pg=PA196 |title=John Horace Parry, 'The Spanish seaborne empire|publisher= University of California Press |access-date=2010-08-22|isbn=9780520071407 |year=1990 |last1=Parry |first1=J. H. }}</ref> although transferred in Valladolid, with the whole administrative staff, during a brief period (1601–1606). As for the functioning, the administrative correspondence came to the different Councils, to Madrid, then the secretary of every Council arranged the material that had to deliver for the attention of the king, and later the King assembled with the secretaries requesting the opinion of the council. After that, the Council answered afterwards a session to treat the issue and to raise the formal consultation to the monarch. The secretary raise the consultation to the king, and was returned to the council with his response to be executed. The meetings of the Councils took place in the royal palace, and they did not count on the presence of the king habitually. In this poly-synodical system, "Consejo de Estado" (Council of State) stood out for its importance. The Consejo de Estado in Madrid, entrusted to declare on the major decisions that concerned the organization and the defense of the ensemble of the Hispanic monarchy, and it had frequently that to get into Portuguese matters. Even, the Council of War (Consejo de Guerra) exercised its jurisdiction on the troops placed in the Castilian strongholds established on the Portuguese littoral. And also, there were Councils of territorial character, which functions specialized in a concrete territorial space, the Council of Castile, Council of Aragon, Council of Navarre, Council of Italy, Council of The Indies, Council of Flanders, and the Council of Portugal. The Council of Portugal, established in 1582, was integrated with a president and six (later four) counselors, and it was abolished at the end of the war in 1668, when Charles II of Spain gave up his title as King of Portugal. The function of the Council consists in representing close to the king the courts of the Crown of Portugal for the matters that depend on the justice, grace, finally, the economy of the royal Portuguese domain. Any decision of the king who concerning his Kingdom must do the object of a consultation to the council before being transmitted to the chancellery of Lisbon and to the concerned courts. The Council of Portugal knows two eclipses: in 1619, for the presence