Complex sentence: In the summer of 1949 it received 27 of the aircraft from the 509th Bombardment Wing when the latter transitioned to B-50D bombers, but within a year all were converted to TB-29 trainers.
Split into simpler sentences: In the summer of 1949 it received 27 of the aircraft from the 509th Bombardment Wing when the latter transitioned to B-50D bombers. Within a year all were converted to TB-29 trainers.