The first Buddhist council was held soon after the mahapainirvana of the Buddha, around 400BC under the patronage of king Ajatshatru with the monk Mahakasyapa as president, at Rajgriha, in the Sattapani Cave. The idea was to preserve Buddha's teachings (Sutta) and rules for disciples (Vinaya).