 Members of the judicial branch are appointed by the governor with advice and consent from the Senate.Puerto Rico was ceded to the United States by Spain at the end of the Spanish–American War by the Treaty of Paris of 1898.The Foraker Act of 1900 provided for an organization of the civilian government.