The British became a major power in the Indian sub-continent after the Treaty of Paris and began to show interest in Afghanistan to ensure that the Russian empire did not have an influence over Afghanistan.
Bajirao I tried to convince Shahu to attack the Mughals during their declining condition. He dreamt to fly the Maratha flag from the Krishna to Attock. Shahu accepted his proposal.