Babur defeated Ibrahim Lodi in the first battle of Panipat in 1526. In this babur used the Rumi (Ottoman) device of lashing a large number of carts to form a defending wall with breastwork in between to rest guns (Tughlama system of welfare). His artillery was led by Ustad Ali and Mustafa.