Shah Alam II (1760-1788, 1788-1806) faced the Third Battle of Panipat (1761) and the Battle of Buxar (1764).