Ancient Chinese education also has a long history; ever since the Sui Dynasty (581–618 CE) educated candidates prepared for the Imperial examinations which drafted exam graduates into government as scholar-bureaucrats.