One year later, Nur ad-Din Zangi captured Bohemond III when he defeated a joint Antiochene-Tripolitan army. Bohemond III was soon released, however Harem, Syria which Raynald had recaptured in 1158, was lost again and the frontier of Antioch was permanently placed west of the Orontes. Byzantine influence remained in Antioch and in 1165, Bohemond III married a niece of the emperor, Maria of Antioch, and installed a Greek patriarch in the city, Athanasius II, Patriarch of Antioch, who remained in his position until he died in an earthquake five years later.