Thus, in effect, the priory's church became a parish church even though it was tended by a closed religious order.
The parish church grew out of a priory.