In 1919, after the breakup of the Russian Empire, Palanga became a part of Latvia, like the rest of the Courland Governorate. In 1921 the town was peacefully transferred to Lithuania following a Lithuanian-Latvian treaty and giving Lithuania access to the sea.[4]