After delays and uncertainty over whether the Games in Tokyo will take place due to the coronavirus pandemic, Team GB athletes made their way to the Japanese capital to compete, albeit without their families and friends to lend some moral support.
The Olympics have provided the country with another chance to cheer on their sporting stars, following a summer of football with the historic Euro 2020 tournament, and they have brought many highs for Team GB.
From breaking national and personal records to the youngest British Olympic medallist and one day filled with gold medals, Britain’s athletes have impressed the country - and even matched their total medal haul from the 2012 games in London, sealing their 65th on the final day.
But the Games also had their lows, with injuries, crashes, unexpected losses and withdrawing from competitions.
Here are some of the best pictures of the gains and losses for Team GB at this year’s eventful Olympics.
Alex Yee, the 23-year-old from South London, took triathlon silver in his impressive Olympic debut on day three of the Games.
On the same day, branded 'Magic Monday', Team GB collected three gold medals in men's breaststroke, men's diving and men's mountain biking.
On day five, Great Britain claimed a first women’s team gymnastics medal since 1928 as they delivered an extraordinary bronze at the Tokyo Olympics.
Despite losing precious time by getting a flat tyre on the last lap of the bike leg, GB's Georgia Taylor-Brown won silver in the women's triathlon.
Tom Dean (right) became the first British male swimmer to win more than one gold medal at a single Olympics in 113 years after helping his nation to victory in the 4×200 metres freestyle relay final on day six, as well as winning the men’s 200m freestyle 24 hours earlier in a British record time.
More pool success for Team GB came from Tom Daley and Matty Lee in the men’s synchronised 10 metres platform.
The British pair defeated the Chinese duo by the most slender of margins, getting just 1.23 points more than the World Champions over the course of six rounds, while the Russian Olympic Committee finished third.
Despite being just 28 years old, this was Daley's fourth Olympics in which he finally clinched a gold medal.
Further success followed for him when he took bronze in the men's 10 metre platform on the penultimate day of the Games.
Despite his sporting prowess, his success for "team great knitting" garnered almost as much attention, with the diver frequently spotted creating items in the stands, saying it helped him cope with the pressure.
Charlotte Dujardin set a new record of six Olympic medals for a British woman after taking bronze in the individual dressage final at Tokyo Equestrian Park.
Team GB's rowers had a disappointing run in this year's Olympics after they failed to win a gold medal in the regatta for the first time since Moscow in 1980, bringing home only a bronze and a silver.
Team GB celebrated double success on the BMX track as Beth Shriever won gold in the women's BMX racing final, moments after team-mate Kye Whyte claimed the nation's first Olympic medal in the event with silver in the men's.
History was made on day nine as the swimming quartet equalled their best swimming medal haul (set in 1908) at an Olympics after winning the inaugural mixed 4×100 metres medley relay final in a new world record time.
In a surprising turn of events, Team GB's star sprinter Dina Asher-Smith pulled out of the 200 metres due to a hamstring injury after failing to make the 100 metres final on day eight of the Games in an Olympic shock.
Charlotte Worthington wowed everyone when she landed the first-ever 360 backflip to be performed in women’s BMX freestyle, proceeding to take a gold medal for her country.
Emily Jade Campbell made an impression after winning Team GB's first women’s weightlifting medal, gaining silver in the +87kg Group A on day 10 of the Games.
Great Britain took home a silver medal in track cycling from the women's team pursuit on the eleventh day, but almost ruined the celebration when they crashed into themselves at the end.
The men's team pursuit also ended with a crash during the semi-final when a Danish rider collided with GB's Charlie Tanfield, but the competition ended in disappointment as Britain’s reign as Olympic men’s team pursuit champions since 2008 was over.
Another sad end on the eleventh day came for Adam Gemili whose sprint was cut short after he pulled up injured during the men's 200m Heats.
Team GB's cyclists and married golden couple Jason and Laura Kenny added to their Olympic medal haul on the same day, making them arguably Britain's most successful sporting couple, after winning silver medals in the Men's Team Sprint and Women's Team Pursuit during Track Cycling.
Keely Hodgkinson made British history by breaking Kelly Holmes' 1995 long-standing national record to win the silver medal in the women’s 800 metres race.
There was heartbreak for Katarina Johnson-Thompson who had to pull out of the Women's Heptathlon on the twelfth day of the Games after picking up a calf injury in the 200m segment.
Breaking records was 13-year-old Sky Brown who was crowned Great Britain’s youngest ever Olympic medallist and first Olympic skateboarding medal winner after taking the bronze medal in the women’s skateboard park event on day 13.
Team GB's Hannah Mills became the most decorated female Olympic sailor in history after winning gold with Eilidh McIntyre in the women’s 470 class on the same day.
Also making history was Holly Bradshaw who became Britain’s first Olympic medallist in the pole vault after she secured a bronze medal in the final.
On the penultimate day of the Games, Team GB finally landed a gold in boxing, having secured two silvers and two bronzes.
Galal Yafai claimed the flyweight title following a split decision win over Carlo Paalam of the Philippines.
Success followed on Sunday, with Lauren Price defeating China's Li Qian in the women's middleweight final, Team GB's 22nd gold and final medal of Tokyo 2020.
After a slow start in the athletics, medals for Team GB came thick and fast as the event ended its final days with a bronze for the women's 4x100m relay team and the same for men's 1,500m runner Josh Kerr who almost took silver from world champion Timothy Cheruiyot.
Team GB's men's 4x100m were pipped to the post by Italy who won the race by one-thousandth of a second, while Laura Muir ran the race of her life and set a British record to claim silver in the women's 1,500m.
The final few days of the Olympics also saw a string of medals in the cycling.
Two days earlier, his wife Laura Kenny won a sensational gold alongside Katie Archibald in the women's madison. While she made it golds at three Olympics, a crash in the omium on the final day left her sixth overall.
Cyclist Matt Walls also had an impressive debut Olympics. The 23-year-old from Oldham claimed gold in the men's Omnium, but joined housemate Ethan Hayter to clinch silver in the gruelling madison on Saturday.