Urban VIII's military involvement was aimed less at the restoration of Catholicism in Europe than at adjusting the balance of power to favour his own independence in Italy. In 1626, the duchy of Urbino was incorporated into the papal dominions, and, in 1627, when the direct male line of the Gonzagas in Mantua became extinct, he controversially favoured the succession of the Protestant Duke Charles of Nevers against the claims of the Catholic Habsburgs. He also launched the Wars of Castro in 1641 against Odoardo Farnese, Duke of Parma and Piacenza, whom he excommunicated. Castro was destroyed and its duchy incorporated into the Papal States.