Complex sentence: It remained under Armenian control and was a vassel of the Byzantine Empire until the middle of 11th century, when the Seljuk dynasty conquered the city.
Split into simpler sentences: It remained under Armenian control and was a vassel of the Byzantine Empire until the middle of 11th century. After that the Seljuk dynasty conquered the city.