The Qing divided the positions into civil and military positions, each having nine grades or ranks, each subdivided into a and b categories