Original: The dowager Empress Agnes acted as regent, and, according to the will of the dead emperor, the German pope Victor II was named as her counsellor.
Simplified: The Empress Agnes acted as regent, and the German pope Victor II was named as her counsellor.