The basic governmental structure established by the Ming was continued by the subsequent Qing (Manchu) dynasty and lasted until the imperial institution was abolished in 1911/12. The civil service system was perfected during the Ming and then became stratified; almost all the top Ming officials entered the bureaucracy by passing a government examination.