St Mary's Church was most likely founded in the seventh century and stood somewhere near the present town hall on what used to be known as Cockpit Hill. The graveyard yielded 36 burials in a recent excavation. The present church – while having some Anglo-Saxon stonework and the stump of an eighth-century prayer cross – is mainly Norman with fifteenth-century additions. Masham was given to York Minster in the medieval period but, as the archbishop did not wish to make the long journey north to oversee the town's affairs, the parish was designated a peculiar.