Belfast is the capital of Northern Ireland (part of the UK). Dublin is the capital of the Republic of Ireland (sovereign EU state). The island of Ireland is politically divided; each jurisdiction has its own government, laws, and capital. Confusion arises because "Ireland" colloquially refers to the Republic, while geographically it includes both.