Original: In the Middle Ages the region profited from the vicinity of the wealthy Hanseatic city of Rostock.
Simplified: In the Middle Ages the region was made rich because Hanseatic city of Rostock was close.