Various sources suggest that the Kayasthas were created by the gradual intermixing of different castes who were formerly employed by early Mughal kings to serve as scribal elites, becoming known as a separate caste of writers during the British Raj.