After almost five centuries of Ottoman domination (1396–1878), the Bulgarian state was re-established as the Principality of Bulgaria, covering the land between the Danube River and the Balkan Mountains (except Northern Dobrudja which was given to Romania) as well as the region of Sofia, which became the new state's capital.