Original: Sarajevo is the capital of the country of Bosnia and Herzegovina and its sub-entity, the Federation of Bosnia and Herzegovina, as well as of the Sarajevo Canton.
Simplified: Sarajevo is the capital city of Bosnia and Herzegovina.