The candidate had to be trained as a scholar and then pass a series of written examinations. The Chinese civil service system, established in 124 B.C.E., required potential officials to be trained as scholars and then pass rigorous examinations to qualify for office.