Question: what did azazel do to magnus?
Answer: Clary was unable to make her rune to protect them from Azazel, and the demon was quickly able to weaken the protective barrier around him. He broke out of the barrier and attacked the group, releasing a deafening sound that incapacitated them. He touched Magnus, then Valentine, switching the two.