In 1900, William McKinley signed the Foraker Act as a United States federal law, which established civilian (limited popular) government on Puerto Rico. The new government had a governor and an executive council appointed by the President, a House of Representatives with 35 elected members, a judicial system with a Supreme Court, and a non-voting Resident Commissioner in Congress. The first civilian governor of the island under the Foraker Act was Charles Herbert Allen. This system was still used after the approval of the Jones–Shafroth Act, which altered the structure of government in Puerto Rico, and was in use until 1948.