Complex sentence: At the end of the 2012--13 season when Regensburg was relegated from the Bundesliga 2, he joined FC St. Pauli.
Split into simpler sentences: At the end of the 2012--13 season when Regensburg was relegated from the 2. Bundesliga, he joined FC St. Pauli.