a state of disintegration. Railroad mileage was of course located mostly in rural areas. The war followed the rails, and over two-thirds of the South's rails, bridges, rail yards, repair shops and rolling stock were in areas reached by Union armies, which systematically destroyed what it could. The South had of track, and were in areas reached by the Union armies. About were in areas where Sherman and other Union generals adopted a policy of systematic destruction of the rail system. Even in untouched areas, the lack of maintenance and repair, the absence of new equipment, the heavy over-use, and the deliberate movement of equipment by the Confederates from remote areas to the war zone guaranteed the system would be virtually ruined at war's end. Political Reconstruction Reconstruction was the process by which the states returned to full status. It took place in four stages, which varied by state. Tennessee and the border states were not affected. First came the governments appointed by President Andrew Johnson that lasted 1865–1866. The Freedmen's Bureau was active, helping refugees, setting up employment contracts for Freedmen, and setting up courts and schools for the freedmen. Second came rule by the U.S. Army, which held elections that included all freedmen and excluded over 10,000 former Confederate leaders. Third was "Radical Reconstruction" or "Black Reconstruction" in which a Republican coalition governed the state, comprising a coalition of freedmen, scalawags (native Southern whites) and carpetbaggers (migrants from the North). Violent resistance by the Ku Klux Klan and related groups was suppressed by President Ulysses S. Grant and the vigorous use of federal courts and soldiers. The Reconstruction governments spent large sums on railroad subsidies and schools, but quadrupled taxes and set off a tax revolt among conservatives. Stage four was reached by 1876 as the white conservative coalition, called "Redeemers", had won political control of all the states except South Carolina, Florida and Louisiana. The disputed presidential election of 1876 hinged on those three violently contested states. The outcome was the Compromise of 1877, whereby the Republican Rutherford Hayes became president and all federal troops were withdrawn from the South, leading to the immediate collapse of the last Republican state governments in the 19th century. Railroads The building of a new, modern rail system was widely seen as essential to the economic recovery of the South, and modernizers invested in a "Gospel of Prosperity". Northern money financed