The answer is the first option: It stopped states from preventing former slaves and poor people from voting.
The Southern states that once belonged to the Confederate States of America adopted poll taxes as a means of preventing poor white people and African-Americans from voting. The Twenty-Fourth Amendment had as its goal to stop such impediment from taking place and conceding all men the right to vote. The amendment was proposed in 1962 and ratified in 1964.