Complex sentence: The summoning goes wrong and the whole school is drawn into the Expanse, where Hazama declares himself the Demon God Emperor.
Split into simpler sentences: The summoning goes wrong and the whole school is drawn into the Expanse. There, Hazama declares himself as the Demon God Emperor.