He eventually became friends with the young Anakin Skywalker and helped Anakin come to terms with the destruction which had been wrought by the galaxy-wide war. During the Clone Wars he served the Republic as a General, and established himself as a charismatic leader who often led his troops from the front.