Disputed government of South Carolina of 1876–1877
From December 1876 to April 1877, the Republican and Democratic parties in South Carolina each claimed to be the legitimate government. Both parties declared that the other had lost the election and that they controlled the governorship, the state legislature, and most state offices.
Source: Wikipedia — Disputed government of South Carolina of 1876–1877 (CC BY-SA 4.0)