Treaty of Rapallo
The Kingdom of Italy annexed it after World War I according to the Treaty of London and later Treaty of Rapallo. After World War II, it was split between Italy (West), Slovenia (North) and Croatia (South).