History of the East–West Schism
Disunion in the Roman Empire further contributed to disunion in the Church. The Emperor Diocletian famously divided the administration of the eastern and western portions of the Empire in the early 4th century, though subsequent leaders (including Constantine) aspired to and sometimes gained control of both regions. Theodosius the Great, who established Nicene Christianity as the official religion of the Roman Empire (see Edict of Thessalonica), was the last Emperor to rule over a united Roman Empire. Following his death in 395, the division into western and eastern halves, each for a few decades still under its own Emperor, was never reunited.
Holy Roman Emperor
The Holy Roman Emperor was widely perceived to rule by divine right, though he often contradicted or rivaled the Pope, most notably during the Investiture controversy. 
In theory, the Holy Roman Emperor was "primus inter pares" (first among equals) among other Catholic monarchs. In practice, a Holy Roman Emperor was only as strong as his army and alliances, including marriage alliances, made him. There was never a Holy Roman Empress regnant, though women such as Theophanu and Maria Theresa of Austria served as de facto Empresses regnant.
Throughout its history, the position was viewed as a defender of the Roman Catholic faith. Until the Reformation, the Emperor elect ("imperator electus") was required to be crowned by the Pope before assuming the imperial title. Charles V, Holy Roman Emperor was the last to be crowned by the Pope in 1530. Even after the Reformation, the elected Emperor always was a Roman Catholic. There were short periods in history when the electoral college was dominated by Protestants, and the electors usually voted in their own political interest.