In 4 ABY, he became a member of Blue Squadron where he flew during the battle of Endor. The battle was a success when the second Death Star was destroyed, which included the deaths of Emperor Palpatine and Darth Vader. Years later, Gavin served as the director of flight personnel for the New Republic Fifth Fleet during the Black Fleet Crisis.