CHAPEL HILL, N.C. -- Adam Pate reached five times and finished a triple shy of the cycle as North Carolina beat No. 24 Coastal Carolina 9-3 on Tuesday night at Boshamer Stadium. Tyler Ramirez added three hits for the Tar Heels, who avenged a 13-2 loss to Coastal in winning their second game in a row.

Pate's home run in the third was the first of his career and put UNC (19-13) up 2-1. The Tar Heels would take the lead for good in the fourth on Zack Gahagan's RBI double. Logan Warmoth's single scored Gahagan to make it 4-2.

Carolina added two more in the sixth on run-scoring hits from Skye Bolt and Tyler Ramirez, and Alex Raburn's safety squeeze pushed the lead to 7-3 in the eighth. Korey Dunbar, who threw out two more runners, and Warmoth each added an RBI in the eighth.

Four Tar Heel pitchers combined to allow six hits, as Jason Morgan made his first career start before handing it over to the bullpen. Spencer Trayner (2-3) picked up his second win of the year and Trent Thornton worked the final two innings for his sixth save. Trevor Kelley pitched in his NCAA-high 23rd game of the year and went three scoreless frames.

Michael Paez homered for the Chanticleers (23-9), who had won their past two against UNC dating back to last year. Shane Sawczak allowed four runs in three innings to fall to 1-2 on the year. Coastal pitchers walked 11 batters on the night and UNC out-hit the Chants 12-6.