Kavala was liberated by the Greek navy during the Second Balkan War and was incorporated into Greece with the treaty of Bucharest. In August 1916 remnants of the IV Army Corps, stationed at Kavala under Ioannis Hatzopoulos surrendered to the advancing Bulgarian army. These events provoked a military revolt in Thessaloniki, which led to the establishment of the Provisional Government of National Defence, and eventually Greece's entry into the First World War.