section_path: Semi-legendary biography/Later years
section_name: Later years
paragraph_text: Later years
  
  According to J.S. Strong, after the first 20 years of his teaching career, the Buddha seems to have slowly settled in Sravasti, the capital of the Kingdom of Kosala, spending most of his later years in this city.
  
  As the sangha grew in size, the need for a standardized set of monastic rules arose and the Buddha seems to have developed a set of regulations for the sangha. These are preserved in various texts called " Pratimoksa " which were recited by the community every fortnight. The Pratimoksa includes general ethical precepts, as well as rules regarding the essentials of monastic life, such as bowls and robes.
  
  In his later years, the Buddha's fame grew and he was invited to important royal events, such as the inauguration of the new council hall of the Shakyans (as seen in MN 53) and the inauguration of a new palace by Prince Bodhi (as depicted in MN 85). The early texts also speak of how during the Buddha's old age, the kingdom of Magadha was usurped by a new king, Ajatashatru, who overthrew his father Bimbisara. According to the Samaññaphala Sutta, the new king spoke with different ascetic teachers and eventually took refuge in the Buddha. However, Jain sources also claim his allegiance, and it is likely he supported various religious groups, not just the Buddha's sangha exclusively.
  
  As the Buddha continued to travel and teach, he also came into contact with members of other śrāmana sects. There is evidence from the early texts that the Buddha encountered some of these figures and critiqued their doctrines. The Samaññaphala Sutta identifies six such sects.
  
  The early texts also depict the elderly Buddha as suffering from back pain. Several texts depict him delegating teachings to his chief disciples since his body now needed more rest. However, the Buddha continued teaching well into his old age.
  
  One of the most troubling events during the Buddha's old age was Devadatta 's schism. Early sources speak of how the Buddha's cousin, Devadatta, attempted to take over leadership of the order and then left the sangha with several Buddhist monks and formed a rival sect. This sect is said to have been supported by King Ajatashatru. The Pali texts depict Devadatta as plotting to kill the Buddha, but these plans all fail. They depict the Buddha as sending his two chief disciples (Sariputta and Moggallana) to this schismatic community in order to convince the monks who left with Devadatta to return.
  
  All the major early Buddhist Vinaya texts depict Devadatta as a divisive figure who attempted to split the Buddhist community, but they disagree on what issues he disagreed with the Buddha on. The Sthavira texts generally focus on "five points" which are seen as excessive ascetic practices, while the Mahāsaṅghika Vinaya speaks of a more comprehensive disagreement, which has Devadatta alter the discourses as well as monastic discipline.
  
  At around the same time of Devadatta's schism, there was also war between Ajatashatru's Kingdom of Magadha, and Kosala, led by an elderly king Pasenadi. Ajatashatru seems to have been victorious, a turn of events the Buddha is reported to have regretted.