Complex sentence: The buildings were originally built as a palace, in which in 1441 the abbey was founded by John II of Castile.
Split into simpler sentences: The buildings were originally built as a palace. In 1441 the abbey was founded by John II of Castile.