Complex sentence: After being captured they are put in the church orphanage, where they put aside their differences and become best friends.
Split into simpler sentences: After being captured they are put in the church orphanage. They put aside their differences and become best friends.