Foreign relations of the Maldives
The Maldives has remained an independent nation throughout its recorded history, save for a brief spell of Portuguese occupation in the mid-16th century. From 1900 to 1965, the country was a British protectorate while retaining full internal sovereignty.
Source: Wikipedia — Foreign relations of the Maldives (CC BY-SA 4.0)