The final grand slam of 2018 is over and it was an eventful two weeks at the US Open.

Novak Djokovic and Naomi Osaka were the singles winners but there was plenty of drama.

Here, Press Association Sport chronicles the tournament through pictures.

Andy Murray made his comeback to grand slam tennis after 16 months away. The Briton won his first-round match but went out to Fernando Verdasco in the second round
Andy Murray made his comeback to grand slam tennis after 16 months away. The Briton won his first-round match but went out to Fernando Verdasco in the second round (Andres Kudacki/AP)
Nick Kyrgios was in the middle of another storm as he appeared to receive coaching from umpire Mohamed Lahyani
Nick Kyrgios was in the middle of another storm as he appeared to receive coaching from umpire Mohamed Lahyani (AP Photo/Seth Wenig)
It was a family affair as Serena beat her sister Venus Williams in the fourth round
It was a family affair as Serena beat her sister Venus Williams in the fourth round (Julio Cortez/AP)
Serena Williams got plenty of her attention for her flamboyant attire
Serena Williams got plenty of her attention for her flamboyant attire (Andres Kudacki/AP)
US Open Don’t Sweat It Tennis
The extreme heat was a constant problem for competitors throughout the fortnight (Frank Franklin II/AP)
Beginning of the end? Roger Federer was dumped out in the fourth round by John Millman
Beginning of the end? Roger Federer was dumped out in the fourth round by John Millman (Jason DeCrow/AP)
There was nothing wrong with Rafael Nadal's arms, but his knee let him down in a semi-final with Juan Martin Del Potro and he retired after two sets
There was nothing wrong with Rafael Nadal’s arms, but his knee let him down in a semi-final with Juan Martin Del Potro and he retired after two sets (Adam Hunger/AP)
Bethanie Mattek-Sands was jumping for joy after winning the mixed doubles with Jamie Murray
Bethanie Mattek-Sands was jumping for joy after winning the mixed doubles with Jamie Murray (Adam Hunger/AP)
In one of the most controversial moments in tennis history, Serena Williams was docked a game after receiving three code violations by umpire Carlos Ramos, one of which was for smashing her racket
In one of the most controversial moments in tennis history, Serena Williams was docked a game after receiving three code violations by umpire Carlos Ramos, one of which was for smashing her racket (Julio Cortez/AP)
In ugly scenes, Williams ranted at the umpire, which saw her receive a hefty fine
In ugly scenes, Serena Williams ranted at the umpire, which saw her receive a hefty fine (Greg Allen/AP)
Changing of the guard? Serena super-fan Naomi Osaka beat her idol in a dramatic women's final
Changing of the guard? Serena super-fan Naomi Osaka beat her idol in a dramatic women’s final (Adam Hunger/AP)
Djokovic was a winner at Flushing Meadows for the first time since 2015
Djokovic was a winner at Flushing Meadows for the first time since 2015 (Julie Jacobson/AP)
Djokovic levelled with Pete Sampras on 14 grand slams
Djokovic levelled with Pete Sampras on 14 grand slams (Jason DeCrow/PA)