It is a ruined Augustine Abbey and was built by David I of Scotland in 1128 .
The abbey was founded in 1128 by King David I of Scotland .