On 28 July 1914, the First World War began; on 4 August, Germany invaded Belgium and the United Kingdom entered the war to uphold the Treaty of London (1839). Britain faced a continental war it was not prepared to fight; the Expeditionary Force was dispatched but the country lacked the forces required for the protracted war envisioned by the military leadership.