Complex sentence: He became the assistant boys prefect in the school when he was doing visual art as his course of study.
Split into simpler sentences: He became the assistant boys prefect in the school. He was doing visual art as his course of study.