Original: From 1922, following the partition of Ireland, it became the capital of the Irish Free State (1922–1949) and now is the capital of the Republic of Ireland.
Simplified: Dublin is the capital city of the Republic of Ireland.