Complex sentence: It comprised the part of Holstein ruled by the king of Denmark; its capital was Glückstadt (founded in 1617) on the River Elbe.
Split into simpler sentences: It comprised the part of Holstein ruled by the king of Denmark. Its capital was Glückstadt (founded in 1617) on the River Elbe.