What event signaled the end of Reconstruction in 1877 ?

a)African Americans were given the right to vote.
b)President Lincoln was assassinated.
c)General Lee surrendered at Appomattox Court House.
d)U.S. troops were pulled out of the South.