An uneasy truce developed between Allied and Yugoslav troops occupying the area until British General Sir William Morgan proposed a partition of the territory and the removal of Yugoslav troops from the area occupied by the Allies. Josip Broz Tito agreed in principle on 23 May as the British XIII Corps was moving forward to the proposed demarcation line. An agreement was signed in Duino on 10 June, creating the Morgan Line.