What is the capital of Nicosia Cyprus?

Nicosia is a city; cities do not have capitals. However, Nicosia is the capital of Cyprus.