Naomi Osaka staged a brilliant comeback to defeat Victoria Azarenka and win her third grand slam title at the US Open.

Azarenka picked up where she left off in her semi-final victory over Serena Williams and swept through the first set in just 27 minutes.

She was 2-0 up in the second set as well and almost within sight of the finish line only for Osaka to dig in, wrestle the match onto her terms and march to a 1-6 6-3 6-3 victory.

The 22-year-old Japanese star becomes the first Asian player to win three grand slam titles, surpassing Chinese trailblazer Li Na.

Osaka soaked in her triumph by lying flat on her back on the court, saying afterwards: "I always see everyone collapse after match point. But I always think you may injure yourself so I wanted to do it safely."

Addressing Azarenka at the presentation ceremony, she said: "Firstly I want to congratulate Vika. I actually don't want to play you in more finals because I didn’t really enjoy that, that was a really tough match for me."

Asked how she turned the match around, the 22-year-old added: "I just thought it would be very embarrassing to lose in under an hour so I just have to try and stop having a really bad attitude."

Azarenka, also the runner-up in 2012 and 2013, said: "I thought the third time was a charm but I guess I'll have to try again. Congratulations to Naomi, it's been an incredible two weeks for you. I hope we can meet in some more finals again.

"I want to say thank you to all the people who came in in such difficult times and made this tournament happen. I’m very grateful for this opportunity.

"And I want to thank my team for sticking with me and believing in me. We’re going to have some more fun over the next few weeks. It’s been a long road getting here but this was fun."

Osaka's first slam title here two years ago felt like something of a sideshow to the now infamous row between Serena Williams and umpire Carlos Ramos.

She won a second successive title at the Australian Open last year and became the world's best player but Osaka, a shy and quirky character, has admitted that she was not ready to be in such a position.

There have been plenty of low moments since but Osaka now seems ready to embrace her status and the platform it brings.

She has been a vocal advocate for Black Lives Matter, inspiring a pause in play at the Western & Southern Open and wearing facemasks during this tournament bearing the names of black victims of brutality and violence.

Tamir Rice, a 12-year-old boy killed by a policeman while playing with a toy gun in 2014, was the name she kept for the final while Osaka's boyfriend, rapper Cordae, sat in the stands with a T-shirt bearing the words 'Defund the police'.

Playing for a cause greater than herself certainly seems to have helped Osaka find perspective on the court, although she was surely anything but calm internally as Azarenka bullied her around the court in the first set.

Azarenka's resurgence has been the most compelling story of the tournament, the 31-year-old putting behind her three years of struggles on and off the court to reach her first slam final for seven years.

She had a point to lead 3-0 in the second but could not take it and from there the match changed. Osaka broke serve and slowly began to take charge, imposing her power game on her opponent.

She won four games in a row to clinch the second set and lost just one of the next five, clawing her way back from 0-40 to hold for 4-1.

With that Azarenka's chance seemed to have gone but she forged a reputation as one of the sport's most stubborn competitors at her peak and she simply refused to let Osaka break again for 5-1.

Suddenly the fourth seed wobbled and they were back on serve but, while Azarenka's heart remained determined, her legs were clearly feeling the pace and the night belonged to Osaka.