Rosmini was retained as a political advisor to the then government of Piedmont. In August 1848, he was sent to Rome by King Charles Albert of Piedmont to enlist the pope on the side of Italy as against Austria. Rosmini was invited to serve in the Roman Curia of Pope Pius IX as prime minister of the Papal States. He participated in the intellectual struggle which had for its object emancipation from Austria, but as a trusted ecclesiastical advisor and diplomat he was not an initiator of the movement which ended in the freedom and unity of Italy. In fact, while eager for the deliverance of Italy from Austria, his aim was to bring about a confederation of the states of the country, which was to be under the control of the pope. Upon establishment of the Roman Republic, the Pontiff was forced to flee and became estranged from his former advisor in political matters. The tenuous political circumstances made it very difficult to reconcile the two men's differing projects: innovative social and juridical reforms, however modest, fell victim to the more pressing existential needs of defending the supremacy of the Church's temporal powers.