"Sophia" means "knowledge" or "wisdom".
That edifice was created by a demon possessed mad man,
Justinian I.
He is the one who created the office of "bishop over all bishops" in order to regain the western Roman Empire,
and reunite it with the Eastern side as it once was.
He appointed this role to the bishop of Rome,
after ousting the local bishop there.
Justinian was an apostate,
and demon possessed.