the little town was named for the local spanish mission , which honored the blessed memory of king fernando iii of castile , whose pious ferocity toward infidels had purchased sainthood from a grateful church .