Complex sentence: The history of the castle dates back to 1078 and was owned by Counts in the Empúries region.
Split into simpler sentences: The history of the castle dates back to 1078. It was owned by Counts in the Empúries region.