WINSTON-SALEM, N.C. — Roberto Bautista Agut advanced to the Winston-Salem Open final, beating Viktor Troicki 7-5, 6-7 (2), 6-2 on Friday.

The second-seeded Agut will face fellow Spaniard Pablo Carreno Busta, a 6-4, 7-6 (5) winner over Australia’s John Millman in the second semifinal.

The 28-year-old Agut reached the quarterfinals at the Rio Olympics and joined the field in Winston-Salem as a late wild-card entry after he lost in the first round last week in Cincinnati. He moved one win from his fifth career title and his third this year.

Agut is ranked 17th and seeded 15th in the U.S. Open, which begins next week in New York.

The ninth-seeded Troicki, a 30-year-old from Serbia, is 35th in the ATP rankings.

The 16th-seeded Carreno Busta is the world’s 49th-ranked player and has yet to lose a set in the tournament. He reached his third final of the year by beating Millman, who knocked out top-seeded Richard Gasquet in the quarterfinals.