Original: He unsuccessfully applied for the second astronaut group but was accepted for the third group.
Simplified: He tried to get into the second astronaut training group but he was n't accepted.