The Black Codes passed in a number of southern states after the Civil War were intended to

a .close public schools to the children of the formerly enslaved
b .promote the return of the formerly enslaved to Africa
c .enable Black citizens to vote in federal elections
d .place limits on the socioeconomic opportunities open to Black people

d. place limits on the socioeconomic opportunities open to Black people