In 1877, the U.S. Congress declared Rutherford B. Hayes the winner of the 1876 presidential election, despite the fact that Samuel J. Tilden had won the popular vote.
In 1917, the Jones-Shafroth Act was enacted, granting U.S. citizenship to the people of Puerto Rico.