Mahākāśyapa, and he successfully attempted to stop his fellow disciples from leaving the world. To record the Buddha's discourses and preserve monastic discipline, Mahākāśyapa set up the First Buddhist Council. According to the texts, the First Buddhist Council was held in a cave called Saptaparṇaguhā in Rājagṛha (, present-day Rajgir), which was the site of many Buddhist discourses. In the first rains retreat (, ) after the Buddha had died, Mahākāśyapa called upon Ānanda to recite the discourses he had heard, as a representative on this council. There was a rule issued, however, that only arhats were allowed to attend the council, to prevent bias like favoritism or sectarianism from clouding the disciples' memories. Ānanda had not attained enlightenment yet. Mahākāśyapa therefore did not yet allow Ānanda to attend. Although he knew that Ānanda's presence in the council was required, he did not want to be biased by allowing an exception to the rule. The Mūlasarvāstivāda tradition adds that Mahākāśyapa initially allowed Ānanda to join as a sort of servant assisting during the council, but then was forced to remove him when the disciple Anuruddha saw that Ānanda was not yet enlightened. Nevertheless, that night, Ānanda was able to attain enlightenment. When the Council began the next morning, Mahākāśyapa questioned Upāli, to establish the texts on monastic discipline for monks and bhikṣuṇis. Ānanda was consulted to recite the discourses and to determine which were authentic and which were not. Mahākāśyapa asked of each discourse that Ānanda listed where, when, and to whom it was given. Then the assembly agreed that Ānanda's memories and recitations were correct, after which the discourse collection (, ) was considered finalized and closed. In some versions of the account, the Abhidharma () was also standardized during this council, or rather its precursor the Mātṛka. Some texts say it was Mahākāśyapa who reviewed it, and other texts say it was Ānanda or Śāriputra. During the recitations, one problem was raised. Before the Buddha's parinirvāṇa, he had mentioned to Ānanda that, if required, minor rules could be abolished after his passing. Now the question remained what the Buddha had meant when he said minor rules. The monks present at the council discussed several possibilities, but it was not resolved. To prevent disrepute of the saṃgha and criticism from non-Buddhists, Mahākāśyapa opposed to abolish any rules of discipline. After the council, Mahákáyapa attempted to have the monks Gavāmpati