It was composed in North India, and preserved orally until it was committed to writing during the Fourth Buddhist Council in Sri Lanka in 29 BCE, approximately four hundred and fifty four years after the death of Gautama Buddha.