Magadha (Skt. Magadha; Tib. མ་ག་དྷ་ , Wyl. ma ga d+ha)was the largest of the sixteen states that flourished in northern India between the sixth and third centuries BCE. Its capital was Rajagriha and, during the lifetime of the Buddha was ruled by King Bimbisara and his son Ajatashastra, both of whom became patrons of Buddhism. The Ganges River was the border between Magadha and the powerful republican state of Licchavi.