History was made in dramatic style on Sunday as Ben Ainslie won his fourth consecutive gold medal, making him the most decorated Olympic sailor of all time.

Huge crowds came to watch the talented 35-year-old as he battled the choppy seas in his Finn dinghy named "Rita".

Ainslie has beaten the current record held by great Dane Paul Elvstrom who won four golds between 1948 and 1960.

Together with the silver medal he won in 1996, Ainslie now has an incredible five Olympic medals in five consecutive Games.

Danish Sailor Jonas Hogh-Christensen gave the Brit a run for his money but Ainslie managed to finish in the top spot.

Speaking after the race he described himself as "speechless" and made a special mention to Hogh-Christensen's performance.

However, when asked if he'd be sailing again in the 2016 Olympic Games, he replied "never say never, but I'd be surprised if you see me in Rio".

Earlier in the day British hearts were broken on the water as Sweden denied Iain Percy and Andrew Simpson gold in the Star class.

The defending Olympic champions sailed exceptionally throughout the week and came into the medal race with an eight-point lead over Brazil's Robert Scheidt and Bruno Prada.

However, it was Sweden, not Brazil, that proved Percy and Simpson's undoing as the Brits lost their crown to Fredrik Loof and Max Salminen.

The British pair came into the medal race with a comfortable lead, knowing fourth place or better would guarantee them gold.

They also needed to finish sixth or higher should third-place Sweden win the medal race, which, unfortunately for Percy and Simpson, they did.

Britain entered the final leg of the race in sixth but slipped away in the last 100 metres to finish eighth, handing Loof and Salminen gold on the Nothe Course.

Percy and Simpson had begun the race strongly and rounded the first mark in fifth, with main pre-race rivals Scheidt and Prada eighth.

The Brazilian pair moved up to fifth at the second mark, but Percy and Simpson remained in front and crossed the mark four seconds ahead.

The Brits were having to hold their nerve to keep Scheidt and Prada at bay, but opened up a three-place gap with a marvellous turn at the third mark. Sweden rounded the fourth mark in the lead and Great Britain in fifth, while Scheidt and Prada were ninth of the 10-boat fleet.

Percy and Simpson's attention soon turned to Sweden instead, who threatened their gold medal position.

The Brits needed to finish sixth or higher if Loof and Salminen won the medal race, but suffered on the final downwind as they went from as high as fourth to finish eighth overall to mean ended up with silver.

Loading Slideshow...
  • Britain's Ben Ainslie celebrates as he wins the Finn class sailing competition in Weymouth on August 5, 2012. (Photo credit: WILLIAM WEST/AFP/GettyImages)

  • Ben Ainslie of Great Britain celebrates overall victory after competing in the Men's Star Sailing Medal Race on Day 9 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 5, 2012 in Weymouth, England. (Photo by Getty Images)

  • Ben Ainslie of Britain celebrates after victory in the men's Finn sailing class race at the London 2012 Olympic Games, in Weymouth on August 5, 2012. (Photo credit: WILLIAM WEST/AFP/GettyImages)

  • Great Britain's Ben Ainslie lights flares as he celebrates winning the Gold Medal after the Men's Finn Medal Race in Weymouth. (Photo credit: PA)

  • Ben Ainslie of Great Britain celebrates overall victory after competing in the Men's Finn Sailing Medal Race on Day 9 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 5, 2012 in Weymouth, England. (Photo by Getty Images)

  • Great Britain's Ben Ainslie celebrates winning the Gold Medal after the Men's Finn Medal Race in Weymouth. (Photo credit: PA)

  • Great Britain's Ben Ainslie and Denmark's Jonas Hogh-Christensen (in background) battle for position in the Men's Finn Medal Race in Weymouth. (Photo credit: PA)

  • Great Britain's Ben Ainslie during the Men's Finn Medal Race with Denmark's Jonas Hogh-Christensen (left) close behind in Weymouth. (Photo credit: PA)

  • Great Britain's Ben Ainslie and Denmark's Jonas Hogh-Christensen (right) battle for position in the Men's Finn Medal Race in Weymouth. (Photo credit: PA)

  • Ben Ainslie of Great Britain competes in the Men's Finn Sailing on Day 7 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 3, 2012 in Weymouth, England. (Photo by Clive Mason/Getty Images)

  • Ben Ainslie of Great Britain competes in the Men's Finn Sailing on Day 7 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 3, 2012 in Weymouth, England. (Photo by Richard Langdon/Getty Images)

  • Ben Ainslie of Great Britain competes in the Men's Finn Sailing on Day 7 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 3, 2012 in Weymouth, England. (Photo by Richard Langdon/Getty Images)

  • Ben Ainslie of Great Britain competes in the Men's Finn Sailing on Day 7 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 3, 2012 in Weymouth, England. (Photo by Richard Langdon/Getty Images)

  • Ben Ainslie of Great Britain competes in the Men's Finn Sailing on Day 7 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 3, 2012 in Weymouth, England. (Photo by Richard Langdon/Getty Images)

  • Ben Ainslie of Great Britain competes in the Men's Finn Sailing on Day 7 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 3, 2012 in Weymouth, England. (Photo by Richard Langdon/Getty Images)

  • Ben Ainslie of Great Britain competes in the Men's Finn Sailing on Day 7 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 3, 2012 in Weymouth, England. (Photo by Richard Langdon/Getty Images)

Loading Slideshow...
  • Britain's Andy Murray returns a shot to Switzerland's Roger Federer during the men's singles gold medal match at the All England Lawn Tennis Club at Wimbledon, in London, at the 2012 Summer Olympics, Sunday, Aug. 5, 2012. (Photo credit: AP Photo/Victor R. Caivano)

  • Switzerland's Roger Federer returns the ball to Great Britain's Andy Murray during the men's singles gold medal match of the London 2012 Olympic Games, at the All England Tennis Club in Wimbledon, southwest London, on August 5, 2012. (Photo credit: LUIS ACOSTA/AFP/GettyImages)

  • Ben Ainslie of Great Britain celebrates overall victory after competing in the Men's Star Sailing Medal Race on Day 9 of the London 2012 Olympic Games at the Weymouth & Portland Venue at Weymouth Harbour on August 5, 2012 in Weymouth, England. (Photo by Getty Images)

  • Great Britain's Ben Ainslie lights flares as he celebrates winning the Gold Medal after the Men's Finn Medal Race in Weymouth. (Photo credit: PA)

  • Competitors run in front of Big Ben and the Palace of Westminster during the women's marathon at the London 2012 Olympic Games, on August 5, 2012. (Photo credit: DANIEL GARCIA/AFP/GettyImages)

  • Britain's Victoria Pendleton sets a new Olympic record as she competes in the women's cycling sprint qualifying in the velodrome at The Olympic Park at The 2012 Olympic Games in London on August 5, 2012. (Photo credit: ODD ANDERSEN/AFP/GettyImages)

  • Song-Yi Han #12 of Korea reacts to a lost point in the first set against China during Women's Volleyball on Day 9 of the London 2012 Olympic Games at Earls Court on August 5, 2012 in London, England. (Photo by Elsa/Getty Images)

  • Brazil's leftwing Fernanda Silva Rocha reacts after a goal during the women's preliminary Group A handball match Brazil vs Angola for the London 2012 Olympics Games on August 5, 2012 at the Copper Box hall in London. Brazil won 29-26. (Photo credit: MIGUEL MEDINA/AFP/GettyImages)

  • The lead runners in the Women's Marathon pass Parliament on their penultimate circuit on August 5, 2012 in London, England. (Photo by Peter Macdiarmid/Getty Images)

  • Jianfei Ma of China competes against Yuki Ota of Japan during the Men's Foil Team Fencing quarterfinal on Day 9 of the London 2012 Olympic Games at ExCeL on August 5, 2012 in London, England. (Photo by Hannah Johnston/Getty Images)

  • US Venus Williams serves as she plays along sister Serena Williams against Czech Republic's Andrea Hlavackova and Lucie Hradecka during the women's doubles gold medal match of the London 2012 Olympic Games, at the All England Tennis Club in Wimbledon, southwest London, on August 5, 2012. (Photo credit: LUIS ACOSTA/AFP/GettyImages)

  • Young Rae Choi of Korea competes in the Men's 50m Pistol Shooting final on Day 9 of the London 2012 Olympic Game at the Royal Artillery Barracks on August 5, 2012 in London, England. (Photo by Lars Baron/Getty Images)

  • A spectator uses an umbrella to shield himself from the downpour during the men's field hockey preliminary round match between South Africa and Pakistan at The Riverbank Arena in London on August 5, 2012, during the London 2012 Olympic Games. (Photo credit: INDRANIL MUKHERJEE/AFP/GettyImages)

  • Italy's Andrea Baldini celebrates scoring the winning point against Britain's Richard Kruse to qualify his team during the men's foil team quarterfinals as part of the fencing event of London 2012 Olympic games, on August 5, 2012 at the ExCel centre in London. (Photo credit: ALBERTO PIZZOLI/AFP/GettyImages)

  • US fencer Alexander Massialas celebrates scoring the winning point against France's Erwan le Pechoux to qualify his team during the men's foil team quarterfinals as part of the fencing event of London 2012 Olympic games, on August 5, 2012 at the ExCel centre in London. (Photo credit: ALBERTO PIZZOLI/AFP/GettyImages)

  • Czech Republic's Andrea Hlavackova (L) and Lucie Hradecka plan their next move during the women's doubles gold medal match of the London 2012 Olympic Games against US Venus Williams and Serena Williams, at the All England Tennis Club in Wimbledon, southwest London, on August 5, 2012. (Photo credit: LUIS ACOSTA/AFP/GettyImages)

  • Competitors run up The Mall in front of Buckingham Palace during the women's marathon at the London 2012 Olympic Games, on August 5, 2012. (Photo credit: PAUL HACKETT/AFP/GettyImages)

  • Lithuania's Simona Krupeckaite is pictured with a helmet bearing a panther design before the women's sprint qualifying track cycling event in the velodrome at The Olympic Park at The 2012 Olympic Games in London on August 5, 2012. (Photo credit: CARL DE SOUZA/AFP/GettyImages)

  • Ukraine's Lyubov Sulika wears a gold necklace in the shape of the Olympic rings before the women's sprint qualifying track cycling event at the velodrome venue in the Olympic Park, during the London 2012 Olympic games in London on August 5, 2012. (Photo credit: CARL DE SOUZA/AFP/GettyImages)

  • Competitors take part in the Women's Marathon in the rain on Day 9 of the London 2012 Olympic Games near St Paul's Cathedral on August 5, 2012 in London, England. (Photo by Matthew Lloyd/Getty Images)

  • Spectators wait in the rain for the Women's Marathon to pass by on Day 9 of the London 2012 Olympic Games near St Paul's Cathedral on August 5, 2012 in London, England. (Photo by Matthew Lloyd/Getty Images)

  • South Korea's Lee Yong Dae (L) and Chung Jae Sung (R) hug their coach after beating Koo Kien Keat and Tan Boon Heong of Malaysia during the bronze medal men's doubles badminton match at The London 2012 Olympic Games in London on August 5, 2012. South Korea won the match 23-12, 21-10. (Photo credit: ADEK BERRY/AFP/GettyImages)

  • French guard Florence Lepron (R) vies with Russian centre Natalya Vieru during the women's preliminary round group B basketball match France vs Russia of the London 2012 Olympic Games on August 5, 2012 at the basketball arena in London. France won 65 to 54. (Photo credit: SERGIO PEREZ/AFP/GettyImages)

  • Competitors take part in the Women's Marathon in the rain on Day 9 of the London 2012 Olympic Games near Parliament on August 5, 2012 in London, England. (Photo credit: Peter Macdiarmid/Getty Images)

  • Brazil's leftwing Fernanda Silva Rocha jumps to shoot during the women's preliminary Group A handball match Brazil vs Angola for the London 2012 Olympics Games on August 5, 2012 at the Copper Box hall in London. (Photo credit: MIGUEL MEDINA/AFP/GettyImages)

  • Team Japan celebrates defeating Team China during the men's foil team quarterfinals as part of the fencing event of London 2012 Olympic games, on August 5, 2012 at the ExCel centre in London. (Photo credit: TOSHIFUMI KITAMURA/AFP/GettyImages)

  • South Korea's Lee Yong Dae (L) and Chung Jae Sung (2L) celebrate their victory over Koo Kien Keat (R) and Tan Boon Heong (2R) of Malaysia during the bronze medal men's doubles badminton match at The London 2012 Olympic Games in London on August 5, 2012. South Korea won the match 23-12, 21-10. (Photo credit: ADEK BERRY/AFP/GettyImages)

  • Russia's Vladimir Isakov (L) and German's Florian Schmidt compete in the men's 50m pistol qualification at the London 2012 Olympic Games at The Royal Artillery Barracks in London on August 5, 2012. (Photo credit: MARWAN NAAMANI/AFP/GettyImages)

  • French centre Isabelle Yacoubou (R) and French guard Florence Lepron vie with opponents during the women's preliminary round group B basketball match France vs Russia of the London 2012 Olympic Games on August 5, 2012 at the basketball arena in London. France won 65 to 54. (Photo credit: TIMOTHY A. CLARY/AFP/GettyImages)

  • South Korea's Lee Yong Dae and Chung Jae Sung (foreground) celebrate their victory over Koo Kien Keat and Tan Boon Heong of Malaysia during the bronze medal men's doubles badminton match at the London 2012 Olympic Games in London on August 5, 2012. South Korean won the match 23-12, 21-10. (Photo credit: ADEK BERRY/AFP/GettyImages)

  • Russia's Renal Ganeev (L) reacts wwith Germany's Benjamin Kleibrink during the men's foil team quarterfinals as part of the fencing event of London 2012 Olympic games, on August 5, 2012 at the ExCel centre in London. (Photo credit: TOSHIFUMI KITAMURA/AFP/GettyImages)

  • Victoria Pendleton of Great Britain competes during the Women's Sprint Track Cycling Qualifying on Day 9 of the London 2012 Olympic Games at Velodrome on August 5, 2012 in London, England. (Photo by Jeff Gross/Getty Images)

  • German's Florian Schmidt competes in the men's 50m pistol qualification at the London 2012 Olympic Games at The Royal Artillery Barracks in London on August 5, 2012. (Photo credit: MARWAN NAAMANI/AFP/GettyImages)

  • Florian Schmidt of Germany competes in the Men's 50m Pistol Shooting on Day 9 of the London 2012 Olympic Game at the Royal Artillery Barracks on August 5, 2012 in London, England. (Photo credit: Lars Baron/Getty Images)