Originally, the purpose of the ritual was to serve the country. To obtain someone capable of writing the national history.