Complex sentence: The religious welfare of the slaves was given consideration and the "colored" members of the church, with the blacks in the galleries and the whites in the pews below.
Split into simpler sentences: The religious welfare of the slaves was given consideration. During church services, "colored" members were seated in the gallery, with whites in the pews below.