Complex sentence: One of the bandits injured in the attempted hijacking had gone onboard the for medical treatment before the SEALs opened fire, and was officially taken into custody after the rescue.
Split into simpler sentences: One of the bandits injured in the attempted hijacking, had previously gone onboard the for medical treatment. He was officially taken into custody after the rescue.