Margaret was a deeply pious woman who was subsequently canonized , and her youngest son , David I ( 1124 1153 ) , founded a church in her name on the highest point of the Castle Rock ( St.
Margaret 's son David I ended up founding a church directly as a result of her influence .