In historical fantasy, a specific historical period is chosen in which a few elements of fantasy are added as part of the decorum. Often the magic retreats from the world in order to let the story continue unaltered.
Some examples are Pendragon by Stephen Lawhead.