 After 1870, following the loss of the Papal states to reunited Italy, there was a great change in these conditions.The important office of the prefect was separated from that of the majordomo, and entrusted to the commission of cardinals appointed to administer the business affairs of the Holy See.The arrangement of Leo XIII was so far altered by Pius X, that the Cardinal Secretary of State was made Prefect of the Apostolic Palaces.