Selim III
Nevertheless, Tipu Sultan's correspondence with the Ottoman Turkish Empire and particularly its new Sultan Selim III continued till his final battle in the year 1799.