Allahabad Fort is a fort built by the Mughal emperor Akbar at Allahabad, Uttar Pradesh, India in 1583. The fort stands on the banks of the Yamuna near its confluence with the river Ganga. Akbar's fort was constructed in such a way that it enclosed the famous Akshayavat tree, where people would commit suicide in order to achieve salvation. According to a local legend, Akbar was a Hindu ascetic named Mukunda Brahmachari in his previous birth. Once, by mistake, he consumed a cow's hair while drinking milk. Horrified at this sin (cow being a holy animal), he committed suicide. He was born a mlechchha (non-Hindu) as a result of this sin, and was driven to build a fort at the holy Sangam. This huge, majestic fort has three magnificent galleries flanked by high towers. At present it is used by the army and only a limited area is open to visitors. The magnificent outer wall is intact and rises above the water’s edge. Visitors are allowed to see the Ashokan Pillar and Saraswati Koop, a well said to be the source of the Saraswati river and Jodhabai Palace. The gigantic Ashoka pillar of polished sandstone stands 10.6 meters high, dating back to 232 B.C. The pillar has several edicts and a Persian inscription of Emperor Jahangir inscripted on it, memorating his accession to the throne.