In the year 628, at an age of 30, Brahmagupta composed Brāhmasphuṭasiddhānta which is believed to be a revised version of the received siddhanta of the Brahmapaksha school.