David gave funds to build an abbey on this site in the depths of the forest in gratitude for his survival.
David gave money for the abbey out of gratitude.
The leader disliked religion, but let the people in anyway to show he was nice.