Complex sentence: In keeping with its charter, which stated that "all profits shall be donated to charity", all of the team's excess income was donated to local charitable institutions.
Split into simpler sentences: In keeping with its charter, which stated that "all profits shall be donated to charity". All of the team's excess income was donated to local charitable institutions.