Which innovation helped both the Ottoman and the Safavid empires rise to power?

A) Armored ship
B) Crossbow
C) Gunpowder
D) Siege Engine