What is the meaning of 五位?

the fifth rank in the imperial court

Source: wiktionary.org