Numerous stars establish literacy test to keep black people from voting. Grandfather clause allow those who could vote before 1879 or their descendants to vote, keeping African Americans from voting.
In Guinn v. United States the Supreme Court rules grandfather clause is in conflict with the 15th amendment, also outlawing literacy tests for federal elections.