Hometown hero Anthony Sinisuka Ginting snatched the men’s Indonesia Masters title Sunday in a dramatic comeback over defending champion Anders Antonsen, while Spain’s Carolina Marin lost a nail-biting final to Thailand’s Ratchanok Intanon.

Ginting clinched victory after Denmark’s Antonsen took the first game in a 17-21, 21-15 and 21-9 duel that stretched over one hour and 11 minutes.

The Indonesian shuttler’s win in the $400,000 tournament is his second after taking the title in 2018 -- and gave him hope for his run at the Tokyo 2020 Olympics.

“I am really happy to win at home. This motivates me to go further in the future including for the Olympics,” Ginting told reporters in Jakarta.

Read: Kirsty Gilmour: Want to challenge the best players in Tokyo 2020

Antonsen tipped his hat to the winner.

“I started out playing good at the first set. Anthony was playing better and better and yeah, I was not able to keep my level high,” the defeated Dane said.

Former world champion Marin also suffered the sting of defeat after losing the women’s final to Intanon who scored a 21-19, 11-21, 21-18 victory.

The Spaniard pulled out of last year’s final due to injury.

“I don’t know if I can feel happy or sad because I could not win here. It was one of my goals when I got the injury last year,” Marin said.

“She was better than me today.”

The competition did not feature world number one Kento Momota after the Japanese superstar was injured in a car crash that killed his driver and left him with minor injuries in Kuala Lumpur.

Indonesia’s Marcus Fernaldi Gideon and Kevin Sanjaya Sukamuljo claimed victory in men’s doubles after defeating hometown rivals Mohammad Ahsan and Hendra Setiawan 21-15, 21-16.

In women’s doubles, Indonesian pair Greysia Polii and Apriyani Rahayu beat Denmark’s Maiken Fruergaard and Sara Thygesen in a 18-21, 21-11, 23-21 match.