Magadha expanded to include most of Bihar and Bengal, followed by much of eastern Uttar Pradesh and Odhishaa. The ancient kingdom of Magadha is mentioned in Jain and Buddhist texts. It was also mentioned in the Indian epics Ramayana and Mahabharata, . The state of Magadha, possibly a tribal kingdom, is recorded in Vedic texts much earlier than 600 BC.