In the backdrop of World War I, the assassination of ruler Habibullah Khan in 1919 altered expectations, as his son, Amanullah, took the throne and led Afghanistan through the Third Anglo-Afghan War against the British. Remarkably, the war-weary British recognized Afghanistan's independence and negotiated the Treaty of Peace in 1919, granting the Afghans full freedom in foreign affairs. Surprisingly, Amanullah chose not to renegotiate the boundary with the British and embraced the Durand Line—a decision that surprised many observers.