Complex sentence: In the 19th century, Gioacchino Rossini wrote his setting after retiring from the composition of opera, while Antonín Dvořák wrote his setting when he was still active in writing secular music.
Split into simpler sentences: In the 19th century, Gioacchino Rossini wrote his setting after retiring from the opera. Stabat, while Antonín Dvořák's setting was written when he was still active in writing secular music.