Complex sentence: The wing stayed at Basra until May 2009 when it was moved to Camp Bastion, Afghanistan as part of Operation Herrick.
Split into simpler sentences: The wing stayed at Basra until May 2009. During mid- 2009 the wing was moved to Camp Bastion, Afghanistan as part of Operation Herrick.