The oiran (attended by two maids) arose in the Edo period (1600–1868). Oiran rank was established after the tayū (highest level) and koshi (second level) ranks' glory dwindled. They were categorized based on their beauty, character, education, and artistic ability.