On 17 June 1944, on the Dalmatian island of Vis, the Treaty of Vis was signed in an attempt to merge Tito's government (the AVNOJ) with the government in exile of King Peter II.