The Barha dynasty, with the Rohilla branch, maintains a unique status as the only dynasty to participate in all three Battles of Panipat, seminal battles that shaped Indian History. They fought under the Lodi in the First Battle. In the Second Battle they gained victory under Bairam Khan, and finally in the Third Battle, the sons of Nawab Ali Muhammad Khan Rohilla fought with Ahmed Shah Abidali against the Maratha.