Slaves had few legal rights: in court their testimony was inadmissible in any litigation involving whites; they could make no contract, nor could they own property; even if attacked, they could not strike a white person. There were numerous restrictions to enforce social control: slaves could not be away from their owner’s premises without permission; they could not assemble unless a white person was present; they could not own firearms; they could not be taught to read or write, nor could they transmit or possess “inflammatory” literature; they were not permitted to marry.