The imperial examination system used in ancient China to select government officials based on their knowledge of Confucian classics and literary skills. It was a highly competitive system that played a significant role in Chinese society for over a thousand years.