sentence: the church takes it name from saint eric , the 12th-century king of sweden who , having been slain by a danish prince , came to be regarded as a martyr and the patron saint of stockholm , depicted in the seal and coat of arms of the city .