Complex sentence: In medieval times the watch lowered a portcullis into the river for the night, which secured Stargard harbour, situated behind the fortification (an exception in this area), from intruders.
Split into simpler sentences: In medieval times the watch lowered a portcullis into the river for the night. It secured Stargard harbour, which was situated behind the fortification (an exception in this area), from intruders.