Until the 8th century almost all of modern Greece was under the jurisdiction of the Holy See of Rome according to the system of Pentarchy. Byzantine Emperor Leo III moved the border of the Patriarchate of Constantinople westward and northward in the 8th century.