Marin Cilic ended a three-match losing streak against David Goffin and earned a spot at the ATP finals.

The former U.S. Open champion converted his sixth match point Thursday to beat Goffin 6-3, 7-6 (9) at the Paris Masters, giving him a spot in the quarterfinals and one of the remaining two berths at the season-ending tournament in London.

Goffin had won their three previous encounters, all of them this year. But Cilic was better Thursday on crucial points, often using his big serve to lift himself out of trouble.

The ninth-seeded Croat raised his arms in triumph and let out a big scream after Goffin shanked a forehand to end it.

Cilic will next face either top-ranked Novak Djokovic or Grigor Dimitrov.