MahÃÂsammata (; also spelled Maha Samrat; lit. "the Great Elect"), also known as first Khattiya and RÃÂja, was the first farmer monarch of the world according to Buddhist tradition. The chronicles of Theravada Buddhist tradition such as MahÃÂvaá¹Âsa and Maha Yazawin states that he was the founder of the Shakya dynasty, to which the historical Buddha belonged. According to the Agganna Sutta, he was a rice farmer who was elected by the other farmers to rule them as per Dhamma. He was the first of the eleven world monarchs called Maha Sammata, each of whom founded the eleven dynasties that existed from the beginning to the day of the Buddha. The Burmese Thervada text The Great Chronicle of Buddhas mentioned that Mahasammat Raja was the founder Surya Vanshi Kshtriyas(Suriya Vassi Khattiyas). His another name was Adicca or Sun because his personality was similar to the sun. Pali canon described that Bodhisattva Siddharta Gotama claimed his ancestry from Mahasammat Raja, Addicca naman gotten, name jatiya, meaning in clan of Adicca and house of Shakyans.
The future king was born "in the beginning of the world" in Jambudvëpa, the only habitable continent on earth, to a family descended from the solar race. As no leaders or political orders were in existence, the people elected him to be their king. He ascended to the throne with the title MahÃÂsammata ("the Great Elect", He Who is designated by people), and took Manikpala as his queen. As king, he constituted the order of the city-state, the various duties and offices defined for the state, and the boundaries of armies of their protection. He also compiled the first dhammasattha (law treatise).
According to the MahÃÂvaá¹Âsa Ṭëkà(sub-commentaries), MahÃÂsammata was the bodhisatta in a previous life. The JÃÂtaka commentary identifies the primeval king MahÃÂ-MandhÃÂta as being the bodhisatta as well, MahÃÂmandhata being the great-great-great-great grandson of MahÃÂsammata. MahÃÂmandhÃÂtàis given as an example of one who could obtain great sense-pleasure (and even to the glory of the gods) in his lifetime, but still had to die. The Cetiya JÃÂtaka states that the lifespan of MahÃÂsammata was an asankheyya long (literally, "cannot be calculated").
The dynasty he founded was to have a line of 63,000 kings. That dynasty eventually fell because people forgot religion (dharma). The second dynasty was founded by the founder who took the title MahÃÂsammata II. That dynasty too eventually fell after another 63,000 kings later. The fall of the second dynasty was followed by the foundation of the third dynasty. The cycle of rising and falling dynasties continued to the day of the historical Buddha, over 2500 years ago.
According to Theravada tradition, a total of 28 Buddhas have appeared including the historical Buddha. The first 24 Buddhas appeared in the first seven cycles. The last four Buddhas appeared in the most recent four cycles.
Maha Sammata is mentioned in various Buddhist traditions. In addition to the Theravada accounts, Tibetan and Mongolian Buddhist schools describe him as the founder of political thought.