Magnus killed Eric the Saint as he left the church in Uppsala on May 18, 1160. He ruled as king of almost all of Sweden. Then he was murdered by the men of Charles Sverkerson, the rival king, the year after.