Original: In 1880, at age 21, Dudley passed the North Carolina state exam required to obtain a teacher's certificate.
Simplified: In 1880, at age 21, Dudley took the North Carolina state test needed to become a teacher, and passed.