Ashoka (əˈʃoʊkə, ; also Asoka; 304 – 232 BCE), popularly known as Ashoka the Great, was the third Mauryan Emperor of Magadha in the Indian subcontinent during 268 to 232 BCE. His empire covered a large part of the Indian subcontinent, stretching from present-day Afghanistan in the west to present-day Bangladesh in the east, with its capital at Pataliputra. A patron of Buddhism, he is credited with playing an important role in the spread of Buddhism across ancient Asia.
Ashoka's edicts state that during his eighth regnal year (260 BCE), he conquered Kalinga after a brutal war. Ashoka subsequently devoted himself to the propagation of "dhamma" or righteous conduct, the major theme of the edicts. Ashoka's edicts suggest that a few years after the Kalinga War, he was gradually drawn towards Buddhism. Buddhist and other legends from across the subcontinent and beyond credit Ashoka with establishing a large number of stupas, patronising the Third Buddhist council, supporting Buddhist missionaries, making generous donations to the sangha, and possibly even persecuting non-Buddhists.
Ashoka's existence as a historical emperor had almost been forgotten, but since the decipherment of sources written in Brahmi script in the 19th century, Ashoka holds a reputation as one of the greatest Indian emperors. The emblem of the modern Republic of India is an adaptation of the Lion Capital of Ashoka. Ashoka's wheel, the Ashoka Chakra is adopted at the centre of the National Flag of India.
Information about Ashoka comes from his inscriptions; other inscriptions that mention him or are possibly from his reign; and ancient literature, especially Buddhist texts. These sources often contradict each other, although various historians have attempted to correlate their testimony. So, for example, while Ashoka is often attributed with building many hospitals during his time, there is no clear evidence that any hospitals existed in ancient India during the 3rd century BC or that Ashoka was responsible for commissioning the construction of any.