Complex sentence: Liturgical dancing has its origins in non-Christian pagan religions and was not practiced in Christian communities until the late twentieth century, although it may have antecedents in ancient Hebrew worship, as when King David danced before the Ark of the Covenant.
Split into simpler sentences: Liturgical dancing has its origins in non-Christian pagan religions and was not practiced in Christian communities until the late twentieth century, although it may have antecedents in ancient Hebrew worship. An example is the episode when King David danced before the Ark of the Covenant.