Complex sentence: In the past, the city had a significant proportion of ethnic Germans, who had formed the majority since medieval times.
Split into simpler sentences: In the past, the city had a significant proportion of ethnic Germans. The Germans formed the majority since medieval times.