Complex sentence: Stockport played in the Lancashire League until 1900, when they gained admission to the Football League Second Division.
Split into simpler sentences: Stockport played in the Lancashire League until 1900. They then gained admission to the Football League Second Division.