Who was the most powerful in the church?

In the Early Middle Ages, the most powerful office in the Church was pope.

After the Great Schism, the pope was the most powerful leader in the Roman Catholic Church, in the West, and the Patriarch of Constantinople was the most powerful in the Eastern Orthodox Church, in the East.