Historically, the Arghuns attempted to preserve friendly connections with the Mughals by asserting a shared lineage, but due to the increasing Portuguese presence in the region,
Akbar dismissed this and aimed to subjugate them. Despite this allocation, there were frequent military conflicts between Jani Beg and the Mughal rulers who held power in the region at the time. Consequently, both parties reached a negotiated settlement regarding the land. Following this confrontation, Akbar sent his chief noble
Khan-i-Khanan Mirza Khan to conquer Thatta in 1591. However, Jani Beg defended his city valiantly, and with his exceptional military prowess, he assembled a force of indigenous tribesmen and enlisted the aid of Portuguese
mercenaries to construct a fleet capable of attacking the rear of the Mughal army and severing their supply line. He tenaciously defended his position for two years, during which he lost his father Mirza Paynda and his son Abu’l Fath as casualties of war.
Significant Dream The
Dhakhirat al-Khawanin says that during this battle against the Mughals, Mir Masum took Khan-i-Khanan to Makhdum Qadi Uthman, the
mujtahid of the time, who showed the latter a dream of
Muhammad. This vision depicted Jani Beg, led by the
saints of Sindh, being introduced to Muhammad as the leader who would be responsible for settling Sindh’s people. On the other hand, Khan-i-Khanan was taken by Makhdum Uthman to meet Muhammad and he advocated for his own cause and support for victory. Muhammad then directed that Thatta would remain under Jani Beg's control, as long as there was no conflict with Khan-i-Khanan, because otherwise Jani Beg would be defeated. As a result of this dream, Khan-i-Khanan was given the keys to Thatta, and the saints of Sindh (Makhdum Nuh, Miyan Wahya, and Shaikh Baraka) conveyed this decision to Jani Beg. They stated that this decision was mandated by the "chief of the world", i.e. Muhammad. Jani Beg disagreed with the
darwishes explanation and said: “The work could not be accomplished by the nocturnal army (i.e., prayers) of the darwishes); let them see how the work is carried out by the army of the day (i.e., soldiers)." Jani Beg then advanced up to the border of Siwistan with a large army where he fought against Khan-i-Khanan multiple times. Despite his brave and skillful defense, the balance of power tipped in favor of the Mughals, and Jani was ultimately forced to hand over his area of influence in 1593. This marked the end of the independent Tarkhan rule in Sindh. == Relationship with the Mughal Empire ==