sentences:  In the 1310s Robert the Bruce captured the castle.It was restored in 1336, but in ruins again by 1351.It was repaired at the end of the 14th century and in about 1436 the castle passed into the hands of the Tailleboys.