Original: The German railway line that connected the Free City with newly-created Poland was to be administered by Poland, as well as all rail lines in the territory of the Free City.
Simplified: The railway line that connected the Free City with Poland was administered by Poland.