Austria and declared war against the Two Crowns, Bourbon France and Spain. In Vienna the young archduke Charles of Austria was called for as an alternative candidate to rule Spain. In 1704, Charles moved to Portugal, where he sought to recover from the Spanish throne for the Habsburg dynasty. On the other side of the peninsula allies launched an attempted landing in Barcelona with the complicity of a small number of Austrian locals. The plot was discovered and the allied landings failed. The exiled Austrian viceroy of Catalonia, Francisco Velasco was shocked and wanting to avoid any further Austrian conspiracies. Francisco began an indiscriminate repression in Barcelona, and repeatedly violated the Constitutions of Catalonia. This was a policy that unleashed hatred against, his sovereign, Philip V of Spain. Barcelona was governed by its own citizens, who chose six judges, as directors of Barcelona. These six judges were renewed annually during the feast of St. Andrew, 30 November. The election process consisted of judges being chosen by lot, and by balloting system consisting of a bag in which were placed the names of candidates written on paper, from this bag a child drew the citizens elected to govern the city. The nominee could resign if his judiciary experience was not considered suitable; once appointed they were advised and supervised by the Consell de Cent, the general assembly of citizens. The ministries were assigned based on social classes, with the result that the chief minister candidates in the bag only contained corresponding names of those who had the title of "Honored Citizen", a distinction given to only those locals that were significantly distinguished public service in Barcelona. The sixth chief minister appointment was reserved for merchants, and the Sixth artisans and farmers. This policy worked effectively so lesser known citizens like the tailor Bartomeu Oliver, the sailor Macià Ros, or the barber Pere Torner governed Barcelona, as well as more renowned citizens such as nobleman Ramon de Codina o Antoni de Valencia, the lawyer Gabriel Bòria, the doctor Francesc Orriols and the merchant Jeroni Mascaró. There was a sense of gratitude in governing their own city, and the position was not taken lightly. Once the annual term ended, the judge would return to the ranks of citizenry, resuming the exercise of their professions. The repressive policy of the Viceroy Velasco began raising protests which raged from 1703 to 1704. Advisers who disagreed