The final day of the Paralympic Games threw up plenty of drama, with marathon medals won as well as sitting volleyball and wheelchair rugby in Rio.
Marcel Hug and Zou Lihong were among the five athletes to claim marathon golds on the final day of the Paralympic Games and there was also an emotional win for Iran in the sitting volleyball.
Australia took the wheelchair rugby title in a tense contest which was decided in overtime, and here we look at how the medals were won on the last day of the Games in Rio ahead of the closing ceremony later on Sunday.
IRAN PAY TRIBUTE TO GOLBARNEZHAD BEFORE CLAIMING GOLD
The Iran men's sitting volleyball team paid tribute to Bahman Golbarnezhad and went on to take gold a day after their compatriot died in a tragic cycling road race accident in Rio.
A picture of Golbarnezhad was carried out onto the court by the players in a poignant moment before their contest with Bosnia and Herzegovina.
Morteza Mehrzadselakjan top scored with 28 points as Iran went on to win 3-1 to gain revenge for their defeat in the final in London four years ago.
Egypt won the bronze medal contest against hosts Brazil 3-2.
SWISS HUG TIMES IT TO PERFECTION, MORE WOE FOR WEIR
Switzerland's Hug was crowned men's T54 wheelchair marathon following a photo finish to cap a magnificent week in which he also won 800m gold.
The man nicknamed the Silver Bullet had failed to win a Paralympic gold medal before arriving in Brazil, but now has two to his name after edging out Australia Kurt Fearnley by a second.
Hug crossed the line in one hour, 26 minutes and 16 seconds, with Fearnley having to settle for silver in his last Paralympic race and Kim Gyu-dae of South Korea also getting on the podium.
Defending champion David Weir has won 10 Paralympic medals in his stellar career, but the Brit will head home empty-handed after crashing out of the marathon.
Moroccan world record holder El Amin Chentouf won the men's T12 (visually impaired) marathon in a tile of 2:32.17, while Li Chaoyan took T46 gold for China.
ZOU TAKES MARATHON GOLD AS MCFADDEN CLAIMS SIXTH MEDAL
Zou won the women's T54 wheelchair marathon in a pulsating finish to a race in which the top seven were within three seconds of each other.
Chinese athlete Zou edged out the legendary Tatyana McFadden in a time of 1:38.44 at Fort Copacabana to take gold on a hot day in Rio.
McFadden of the United States was second to ensure she will return home with a haul of six medals from another outstanding Games, with compatriot Amanda McGrory taking bronze.
Spaniard Elena Congost won the women's T12 marathon in 3:01.43 ahead of Japan's Misato Michishita and Brazilian Edneusa de Jesus Santos Dorta.
AUSTRALIA RETAIN RUGBY TITLE IN THRILLER
Australia defended their title by winning a classic wheelchair rugby final against the USA 59-58 in overtime at Carioca Arena 1.
Ryley Batt led the way with a 27-point haul after the USA had levelled with only two seconds remaining to prolong a thrilling showdown.
Australia left it late to get back on level terms with under two seconds to play in the first period of overtime and gained revenge for defeats to the same opponents in the Sydney 2000 and Beijing 2008 Games.
Japan claimed their first wheelchair rugby medal at the expense of Canada earlier on the final day.
QUOTES OF THE DAY
Batt after playing a key role in Australia's wheelchair rugby final win over the USA: "This is the happiest day of my life. I really should not say that because I'm married and that should be the best day. Two-time Paralympic champion, double overtime win. I'm on top of the world."
"I have lots of homework. I know what I need to do next time. Hopefully a little stronger and smarter. I'm ready for Tokyo." McFadden already has an eye on the 2020 Games in Tokyo after claiming another medal on the final day of what has been a fruitful Paralympics for the American.
"There were a lot of people who haven't got chair control. I was a bit tight in the middle, not sure who was next to me, clipped someone's glove and once your front wheel lifts up you are a goner, aren't you? There was nothing I could do." A deflated Weir reflects on his marathon crash.