Under the Sui king (Wendi), each prefecture was to send three men to the capital to be tested on politics, essay writing, and literature. This has been described as the rise of the "scholar-gentry" in direct connection to the imperial service exam system.