Complex sentence: The Free City was created in order to give Poland access to a well-sized seaport, while the city's population was majority-German, it had a significant Polish minority as well.
Split into simpler sentences: The Free City was created in order to give Poland access to a well-sized seaport. While the city's population was majority-German, it had a significant Polish minority as well.