It's the final day of the Rio Olympics. Here is what happened late last night and a look at the Irish in action in the men's marathon.

WHAT HAPPENED LAST NIGHT/EARLY THIS MORNING?

1: Great finish for Arthur Lanigan O'Keeffe in Modern Pentathlon

Kilkenny man Arthur Lanigan O'Keeffe has finished an excellent 8th in the Modern Pentathlon at the Rio Olympics.

Starting the final day of competition in 25th place after the fencing competition on Thursday, he worked his way up the field and, helped by an excellent performance in the show jumping, he went into the last discipline, the combined running/shooting event, in 15th spot.

The 24 year old made more significant progress in this event in the Deodora Stadium and he finished up eighth on 1457 points, just 22 seconds behind the winner and 11 seconds off a bronze medal.

Four years ago he finished 25th having had just a few weeks' preparations after he received a late-call up after a qualifier failed a dope test.

Russian Alexander Lesun won the gold medal on 1479 points.

Overall it was an excellent performance from the two Irish competitors in the event as Natalya Coyle finished seventh on Friday night.

20 August 2016; Arthur Lanigan O'Keeffe of Ireland #15 competing in the Combined Running/Shooting round of the Men's Modern Pentathlon at the Deodora Aquatics Centre during the 2016 Rio Summer Olympic Games in Rio de Janeiro, Brazil. Photo by Brendan Moran/Sportsfile

2: Neymar clinched Olympic gold for Brazil

Neymar inspired Brazil to redemption, revenge and glory, helping atone for the most humiliating night in the country's footballing history by defeating nemesis Germany on penalties to finally win Olympic gold.

The wounds remain raw two years on from a 7-1 World Cup semi-final shellacking that not only saw the Selecao lose the chance of winning on home turf but their dignity.

Saturday's gold medal match offered a shot at redemption and proved the defining moment of the hosts' Games, with Neymar, ruled out of 2014's meeting through injury, scoring the decisive penalty as Germany were overcome 5-4 in the shootout that followed an intense 1-1 draw at the magnificent Maracana.

Caster Semenya refused to talk about the gender row that continues to engulf her after winning Olympic gold in the 800 metres.

The 25-year-old South African streaked away from Francine Niyonsaba of Burundi and Kenya's Margaret Wambui, with Britain's Lynsey Sharp finishing sixth in a personal best of one minute 57.69 seconds.

Questions were raised about Semenya's gender before and during her run to the world title in 2009.

She was subsequently forced to take testosterone-suppressing medication in order to comply with the rules of athletics' world governing body, the IAAF, winning silver in London four years ago.

But last year the Court of Arbitration for Sport suspended the IAAF's rules on 'hyperandrogenism', which causes unnaturally high levels of testosterone, for two years, meaning Semenya could come off the medication.

Earlier this year she set a new personal best of 1min 55.33secs, the fastest time in the world since 2008, and she bettered that in Rio by 0.05s.

Caster Semenya

4: Mo Farah secures double delight for Britain

A fired-up Mo Farah was determined that no one would deny him a fourth Olympic gold medal as he completed the long-distance double at a second straight Games by storming to 5,000 metres glory in Rio.

A week after picking himself off the track following a trip to claim 10,000m gold, Farah avoided any such drama and burst clear down the home straight to cross the line in 13 minutes 3.30 seconds.

He produced a scorching final lap of 52.83secs to hold off the challenge of American Paul Kipkemoi Chelimo, who came home in 13:03.90 and was finally awarded silver after a raft of disqualifications and reinstatements. Hagos Gebrhiwet of Ethiopia got bronze.