This government – the longest-lasting of all of Isabella's governments – lasted nearly five years before it was deposed in 1863. O'Donnell, reacting against the extremism that came from Espartero's government and the "moderado" governments that followed it, managed to pull some results from a functional "Unión Liberal" coalition of centrist, conciliatory "moderados" and "progresistas", all of whom were exhausted from partisan bickering. O'Donnell's ministry was successful enough in restoring stability at home that they were able to project power abroad, which also helped to pull popular and political attention away from the "cortes"; Spain supported the French expedition to Cochinchina, the allied expedition sent in support of the French intervention in Mexico and Emperor Maximilian, an expedition to Santo Domingo, and most importantly, a successful campaign into Morocco that earned Spain a favorable peace and new territories across the Strait of Gibraltar. O'Donnell, even while president of the government, personally took command of the army in this campaign, for which he was named "Duque de Tetuán". A new agreement was made with the Vatican in 1859 that reopened the possibility of legal "desamortizaciones" of church property. The previous year, Juan Prim, whilst a general, had either allowed Jews back onto Spanish territory for the first time since the Alhambra Decree in 1492, or he would do so in 1868.