They’re both Government workers
Ulysses S. Grant (born Hiram Ulysses Grant, April 27, 1822<span> – July 23, 1885) was a prominent United States Army general during the American Civil War and Commanding General at the conclusion of that war. He was elected as the 18th President of the United States in 1868, serving from </span>1869<span> to 1877.</span>
9th Amendment
The 9th amendment states the government can not expand power to take away rights. The Black Codes were an expansion of state rights which took away the freedman's rights as people.