Imperial Civil Service Examination Established in 605 CE
was open to all male citizens, was based a great deal on Confucianism, gave even common herd a chance to work in government, and was very popular with the working class, and made sure the most excellent and brightest worked in government.
Hope this helps!!! C: