Why did UK took over Maldives?
The premise of your question is inaccurate. The United Kingdom did not take over the Maldives and does not have control of the country. The Maldives has been an independent nation since 1965 and is a member of the United Nations.