Jim was disappointed to learn he had orders to an undesirable country.
Jim had been in his position too short a time so he was able to stay.
Jim's leaders found out he was unqualified.
Jim's leaders found out he was leaving.