Original: The King had become engaged in the great debate about other-worldly powers in writing his Daemonology in 1597, before he became King of England as well as Scotland.
Simplified: The king himself had become engaged in the great debate about other-worldly powers in writing his Daemonology in 1597, before he became King of England as well as Scotland.