Final answer:
According to the Black Codes, African Americans were not allowed to vote, testify as witnesses during a trial, swear out affidavits in criminal cases, and hold public office.
Step-by-step explanation:
The Black Codes were a series of discriminatory state laws passed in the southern states during Reconstruction, following the Civil War. These laws were designed to restrict the rights and freedoms of African Americans. According to the Black Codes, there were four things that African Americans were not allowed to do:
- Vote: They were denied the right to vote, which limited their political power and representation.
- Testify as witnesses during a trial: They were not allowed to testify in court, except in cases involving other black people.
- Swear out affidavits in criminal cases: They were prohibited from swearing out affidavits in criminal cases as well.
- Hold public office: They were not allowed to hold public office, thereby excluding them from positions of power and influence.