Sounds like he had a good manager. You've heard the saying:
Give the employee only enough rope to hang himself, but not enough rope that he can hang the company. I've learned far more from my failures than successes and your ability to recover from a failure shows even more than either the success or the failure.