Buddhacarita, the story of Buddha was a Mahākāvya written by Aśvaghoṣa.