Politically the city was dominated by the Republican Party, which had developed a strong political machine. The Republicans dominated the post-war elections, and corrupt officials made their way into the government and continued to control the city through voter fraud and intimidation. The Gas Trust was the hub of the city's political machine. The trust controlled the gas company supplying lighting to the city. With the board under complete control by Republicans in 1865, they awarded contracts and perks for themselves and their cronies. Some government reform did occur during this time. The police department was reorganized; and volunteer fire companies were eliminated and were replaced by a paid fire department. A compulsory school act passed in 1895, and the Public School Reorganization Act freed the city's education from the political machine. Higher education changed as well. The University of Pennsylvania moved to West Philadelphia and reorganized to its modern form; and Temple University, Drexel University and the Free Library were founded.