Sadashivrao was defeated by Abdali in the third battle of Panipat. Taking advantage of the Maratha defeat at Panipat, Hyder Ali attacked their territory in Karnataka. The Marathas defeated Hyder in a battle at Moti Talav. The Nizam invaded the Marathas after Nanasaheb's death but was defeated at Rakshasbhuvan by Peshwa Madhavrao.