Question: Who was the founder of the city of agra?

Disambiguated questions and answers:
context: Masud Sa'd Salman claims to have been there when Mahmud assaulted Agra, claiming the Raja Japal surrendered after seeing a nightmare. Mahmud however proceeds to pillage the city. The history of the city before the Muslim conquerors is unclear. The 17th century chronicler named Abdhullah said it was a village before the reign of Sikandar Lodi. The king of Mathura had used the Agra fort as a jail. The degradation in the status of the site was a result of the destruction brought upon it by Mahmud of Ghazni. Sultan Sikandar Lodī, the Muslim ruler of the Delhi Sultanate, shifted his capital to Agra in the year 1504. Before this, it was under the lordship of Bayana. After the Sultan's death, the city passed on to his son, Sultan Ibrāhīm Lodī. He ruled his Sultanate from Agra until he fell fighting to Mughal Badshah Bābar in the First battle of Panipat fought in 1526.
question: Who used the city of agra as a jail when it was a fort?
short_answers: king of Mathura
wikipage: Agra

context: Masud Sa'd Salman claims to have been there when Mahmud assaulted Agra, claiming the Raja Japal surrendered after seeing a nightmare. Mahmud however proceeds to pillage the city. The history of the city before the Muslim conquerors is unclear. The 17th century chronicler named Abdhullah said it was a village before the reign of Sikandar Lodi. The king of Mathura had used the Agra fort as a jail. The degradation in the status of the site was a result of the destruction brought upon it by Mahmud of Ghazni. Sultan Sikandar Lodī, the Muslim ruler of the Delhi Sultanate, shifted his capital to Agra in the year 1504. Before this, it was under the lordship of Bayana. After the Sultan's death, the city passed on to his son, Sultan Ibrāhīm Lodī. He ruled his Sultanate from Agra until he fell fighting to Mughal Badshah Bābar in the First battle of Panipat fought in 1526.
question: Who shifted his capital to the city of agra in 1504?
short_answers: Sikandar Lodī
wikipage: Agra

context: Masud Sa'd Salman claims to have been there when Mahmud assaulted Agra, claiming the Raja Japal surrendered after seeing a nightmare. Mahmud however proceeds to pillage the city. The history of the city before the Muslim conquerors is unclear. The 17th century chronicler named Abdhullah said it was a village before the reign of Sikandar Lodi. The king of Mathura had used the Agra fort as a jail. The degradation in the status of the site was a result of the destruction brought upon it by Mahmud of Ghazni. Sultan Sikandar Lodī, the Muslim ruler of the Delhi Sultanate, shifted his capital to Agra in the year 1504. Before this, it was under the lordship of Bayana. After the Sultan's death, the city passed on to his son, Sultan Ibrāhīm Lodī. He ruled his Sultanate from Agra until he fell fighting to Mughal Badshah Bābar in the First battle of Panipat fought in 1526.
question: Who ruled the city of agra before 1504?
short_answers: Bayana
wikipage: Agra

Long answers:
knowledge: content: Agra has two histories: one of the ancient city on the east, or left, bank of the river Yamuna, going back so far as to be lost in the legends of Krishna and Mahabharata and reestablished by Sikandar Lodhi in 1504-1505; the other of the modern city, founded by Akbar in 1558, on the right bank of the river which is associated with the Mughals, and known throughout the world as the city of the Taj.
wikipage: Agra History
long_answer: Sultan Sikandar Lodī, the Muslim ruler of the Delhi Sultanate, shifted his capital to Agra in the year 1504. Before this, it was under the lordship of Bayana and was lost in the legends of Krishna and Mahabharata. The 17th century chronicler named Abdhullah said that the king of Mathura used the Agra fort as a jail.