Original: The Cadet Corps performed well, helping in the defense of the town (1899–1900), and were one of the many factors that inspired Baden-Powell to form the Scouting movement.
Simplified: The Cadet Corps performed well, helping in the defence of the town (1899 1900). This experience was  one of the many factors that inspired Baden-Powell to form the Scouting movement.