Lodi dynasty
By the time Ibrahim ascended the throne, the political structure in the Lodi Dynasty had dissolved due to abandoned trade routes and the depleted treasury. The Deccan was a coastal trade route, but in the late fifteenth century the supply lines had collapsed. The decline and eventual failure of this specific trade route resulted in cutting off supplies from the coast to the interior, where the Lodi empire resided. The Lodi Dynasty was not able to protect itself if warfare were to break out on the trade route roads; therefore, they didn't use those trade routes, thus their trade declined and so did their treasury leaving them vulnerable to internal political problems. In order to take revenge of the insults done by Ibrahim, the governor of Lahore, Daulat Khan Lodi asked the ruler of Kabul, Babur to invade his kingdom. Ibrahim Lodi was thus killed in a battle with Babur. With the death of Ibrahim Lodi, the Lodi dynasty also came to an end.