Fill the blank.

The purpose of the 14th amendment was to ____
A Provide Native Americans with equal rights
B Prevent states from legally discriminating against a person based on race
C Gives states the freedom to enact their own voting laws and restrictions
D Give them the right to vote and run for office

B Prevent states from legally discriminating against a person based on race