<P> The following medal table is a list of National Olympic Committees (NOCs) and one non-NOC team ranked by the number of gold medals won by their athletes during the 2016 Summer Olympics in Rio de Janeiro, from 5 to 21 August 2016 . </P> <P> Vietnam, Kosovo, Fiji, Singapore, Puerto Rico, Bahrain, Jordan, Tajikistan and Ivory Coast won their first Olympic gold medals (however, Bahrain retroactively won a gold medal for the 2012 Summer Olympics due to medals reallocation). They were also Kosovo's, Fiji's, and Jordan's first Olympic medals of any kind . Kuwaiti shooter Fehaid Al - Deehani became the first independent athlete to win a gold medal, though gold medals have been won under the Olympic flag by other entities, such as countries that competed under the flag at 1980 Summer Olympics in Moscow or the Unified Team in 1992 . </P> <P> For the fifth time in the last six Games, the United States led the medal table both in number of gold medals won (as the medals are listed on the official website of the Games, and internationally by tradition), and in overall medals (the traditional method by which the table is listed in the United States). Behind the United States, Great Britain were second on the medal table by golds (27), and third by overall medals (67)--their highest finish in the former case since the home games of 1908 and in the latter since 1920, while China were third by golds (26), but second by overall medals (70). Both countries were significantly behind the United States tally (46 golds, 121 medals), but well clear of a group of challengers for fourth in the table including Russia, Germany, France and 2020 hosts Japan . </P> <P> Athletes from 87 nations earned medals at the 2016 Summer Olympics, breaking the record of most nations winning a medal at a single edition of the Olympics . However, following reallocation due to doping sanctions, an 87th country was later awarded a medal at the 2008 Olympics, tying the record . Athletes from 59 nations earned gold medals at these games, also breaking the record for the most number of nations winning gold at a single games . Great Britain became the first country in the history of the modern Olympics to increase their tally of medals in the subsequent games after being the host nation--winning 67 total medals (with 27 golds) at these games compared to the 65 (with 29 golds) won in London four years previously . Host country Brazil won seven gold medals, their most at any single Summer Olympics . </P>

Who had the most medals at the 2016 summer olympics