Mountain, and Union control was never again seriously threatened. In 1863, General John D. Imboden, with 5,000 Confederates, raided a considerable portion of the state and burned Pierpont's library, although Willey escaped their grasp. Bands of guerrillas burned and plundered in some sections, and were not entirely suppressed until the war ended. The Eastern Panhandle counties were more affected by the war, with military control of the area repeatedly changing hands. The area that became West Virginia actually furnished about an equal number of soldiers to the Union and Confederate armies, about 22,000–25,000 each. In 1865, the Wheeling government found it necessary to strip voting rights from returning Confederates in order to retain control. James Ferguson, who proposed the law, said if it was not enacted he would lose the election by 500 votes. Confederates' property might also be confiscated, and in 1866 a constitutional amendment disfranchising all who had given aid and comfort to the Confederacy was adopted. The addition of the Fourteenth and Fifteenth Amendments to the U.S. Constitution caused a reaction. The Democratic party secured control in 1870, and in 1871 the constitutional amendment of 1866 was abrogated. Republicans had taken the first steps toward this change in 1870. On August 22, 1872, an entirely new constitution was adopted. Beginning in Reconstruction, and for several decades thereafter, the two states disputed the new state's share of the prewar Virginia government's debts, which had mostly been incurred to finance public infrastructure improvements, such as canals, roads, and railroads under the Virginia Board of Public Works. Virginians—led by former Confederate general William Mahone—formed a political coalition based upon this: the Readjuster Party. West Virginia's first constitution provided for the assumption of a part of the Virginia debt, but negotiations opened by Virginia in 1870 were fruitless, and in 1871 Virginia funded two-thirds of the debt and arbitrarily assigned the remainder to West Virginia. The issue was finally settled in 1915, when the Supreme Court of the United States ruled that West Virginia owed Virginia $12,393,929.50. The final installment of this sum was paid in 1939. Claims by Maryland The original charters for Maryland and Virginia were silent as to which branch of the upper Potomac was the boundary. This was settled by the 1785 Mount Vernon Conference. Nevertheless, when West Virginia seceded from Virginia, Maryland claimed West Virginia land north of the South Branch (all of Mineral and Grant