Complex sentence: In Barcelona, for example, the accretion of the coast was a natural process until the late Middle Ages, when harbor-building increased the rate of accretion.
Split into simpler sentences: In Barcelona, for example, the accretion of the coast was a natural process until the late Middle Ages. At that time, the initiation of harbour-building increased the rate of accretion.