to defeat the much larger forces of Ibrahim Lodhi, the last ruler of the Delhi Sultanate. Other battles he fought using gunpowder weapons include the Battle of Khanwa in 1527 against Rana Sanga, and the Battle of Ghaghra in 1529. His descendants also employed gunpowder weapons in their expansion of the Mughal Empire, such as Akbar the Great at the second Battle of Panipat (1556) against Adil Shah Suri and Hemu of the Sur dynasty. In 1582, Fathullah Shirazi, a Persian-Indian developed a seventeen-barrelled cannon, fired with a matchlock. Ottoman Empire The Ottoman Empire had been one of the first Middle Eastern states to effectively use gunpowder weapons and used them to great effect conquering much of the Middle East, North Africa, and the Balkans. In the 17th century the state began to stagnate as more modern technologies and strategies were not adopted. Specifically, the Ottoman Empire was slow to adopt innovations like boring cannon (rather than casting them in a mold), making the conversion from matchlock firearms to flintlocks, and the lightening of field guns and carriages. In part this was because the military elite had become a powerful force in the empire and change threatened their positions. David Nicolle theorizes that one contributing factor to the Ottoman reluctance to adopt the flintlock musket, despite its superiority over the matchlock ignition system, was the dusty climate of much of the Middle East which could cause problems with reliability. Overall, the Ottoman Empire between the 15th and 18th centuries has been assessed as a military producer which copies existing technologies, but does not capture the underlying process of innovation or adaption. Other research, though, complicates that view. A Chinese military manual published in 1644 compared Ottoman and European firearms in the following manner: Firearms have been in use since the beginning of the dynasty, and field armies in battle formation have found them convenient and useful to carry along... Since muskets have been transmitted to China, these weapons have lost their effectiveness... In battle formation, aside from various cannon such as the "three generals", the breech-loading swivel gun, and the "hundred-league thunder", nothing has more range or power than the Ottoman musket. The next best is the European one. The fact that Ottoman firearms were considered by 17th century Chinese writers to be superior to European firearms demonstrates that the Ottoman Empire was at least a second tier producer of