Daman and Diu were under Portuguese occupation from 1539 to 1961, when the Indian government used military action to retake all the Portgese enclaves. Apart from Daman and Diu, Goa and Dadra and Nagar Haveli were "liberated" in this conflict. This area used to be a part of a larger union territory of Goa, Daman and Diu till Goa became a state by itself.