Earlier biographies such as the Buddhacarita, the Lokottaravādin Mahāvastu, and the Sarvāstivādin Lalitavistara Sūtra, give different accounts.
What is one of the earlier biographies on Buddhism?
the Buddhacarita