The military history of Pakistan (Urdu: تاريخ عسكری پاكِستان) encompasses an immense panorama of conflicts and struggles extending for more than 2,000 years across areas constituting modern Pakistan and greater South Asia. The history of the modern-day military of Pakistan began in 1947, when Pakistan achieved its independence as a modern nation.