Complex sentence: Before this building there was already a kind of castle there, it was first mentioned in 1340.
Split into simpler sentences: Before this building there was already a kind of castle there. It was first mentioned in 1340.