The Twelve Level Cap and Rank System (冠位十二階,Kan'i Jūnikai), established in 603, was the first of what would be several similar cap and rank systems established during the Asuka period of Japanese history. It was adapted from similar systems that were already in place in Sui dynastyChina, Paekche and Koguryŏ. The officials wore silk caps that were decorated with gold and silver, and a feather that indicated the official's rank. The ranks in the twelve level cap and rank system consisted of the greater and the lesser of each of the six Confucian virtues: virtue (徳,toku), benevolence (仁,jin), propriety (礼,rei), sincerity (信,shin), justice (義,gi) and knowledge (智,chi).
The primary distinction between this new system and the old kabane system by which a person's rank was determined based on heredity, was that the cap and rank system allowed for promotion based on merit and individual achievement. One of the more well known examples of promotion within the cap and rank system is that of Ono no Imoko. When Imoko was first sent as an envoy to the Sui court in 607, he was ranked Greater Propriety (5th rank), but he was eventually promoted to the top rank of Greater Virtue because of his achievements, particularly during his second trip to Sui in 608.