Complex sentence: The castle was fortified in the mid 14th century by King David II, adding a tower house and a larger square keep of five storeys was added at the start of the 15th century.
Split into simpler sentences: The castle was fortified in the mid 14th century by King David II, who added a tower house. A larger square keep of five storeys was added at the start of the 15th century.