This is a Question For The People That Research Akame Ga Kill

My question is: how did the king kill all of the highest grade danger beasts while retaining their magical powers and divinity. Please explain how they could have killed them in the first place??? Pls answer this question.