Complex sentence: After the whipping, the half-alive girl was released to the custody of her brother, and when her wounds healed she ran away to join a Christian community.
Split into simpler sentences: After the whipping the half-alive girl was released to the custody of her brother. When her wounds healed she ran away to join a Christian community.