LONDON -- Olympic silver medalist Bryshon Nellum will carry the U.S. flag at Sunday's closing ceremony of the London Olympics.

Nellum was told by doctors that he might never be an elite athlete again after he was shot in the legs while leaving a restaurant near the campus of Southern California in 2008. Four years later, he's an Olympic medalist.

Nellum was part of the men's 4x400-meter relay team, which finished second to the Bahamas on Friday night. He also competed in the 400-meter dash in London, making the semifinal round.

Nellum says he's "humbled by this incredible privilege."

U.S. Olympic Committee CEO Scott Blackmun says Nellum's courage "embodies the Olympic spirit."

Nellum was selected flagbearer by other members of the U.S. Olympic team in London.

Related on HuffPost:

Loading Slideshow...
  • United States' women's 4 x 100-meter relay team members from left, United States' Allyson Felix, Carmelita Jeter, Bianca Knight, and Tianna Madison pose with their national flag after their gold medal win during the athletics in the Olympic Stadium at the 2012 Summer Olympics, London, Friday, Aug. 10, 2012. The United States relay team set a new world record with a time of 40.82 seconds.(AP Photo/Anja Niedringhaus)

  • South Africa's Oscar Pistorius, right, and Omar Longart of Venezuela wait for the baton in the men's 4x400-meter relay final during the athletics in the Olympic Stadium at the 2012 Summer Olympics, London, Friday, Aug. 10, 2012. (AP Photo/David J. Phillip )

  • Anthony Ogogo

    Britain's Anthony Ogogo lies on the mat after being knocked down by Brazil's Esquiva Falcao Florentino in a men's middleweight 75kg boxing semifinal at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Mark Duncan)

  • Spain

    Spain men's water polo players react afte scoring a goal against the United States during a men's semifinal fifth to eighth place water polo match at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. Spain won 8-7. (AP Photo/Julio Cortez)

  • Oussama Mellouli

    Tunisia's Oussama Mellouli catches his breath after winning gold medal at the men's 10-kilometer swimming marathon at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London.

  • Swimming

    Swimmers dive into the Serpentine to start the men's 10-kilometer swimming marathon in Hyde Park at the 2012 Summer Olympics Friday, Aug. 10, 2012, in London. (AP Photo/Charlie Riedel)

  • Shinichi Yumoto

    Japan's Shinichi Yumoto, in red, competes against Georgia's Vladimer Khinchegashvili, in blue during a 55-kg men's freestyle wrestling competition at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Paul Sancya)

  • Squel Stein

    Brazil's Squel Stein is carried from the course on a stretcher during the BMX cycling women's semifinal run at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. Stein fell off her bike after she landed on the grass following a big jump in the first half of the course.(AP Photo/Matt Rourke)

  • Sailing

    470 women class fleet compete during the medal race at the London 2012 Summer Olympics, Friday, Aug. 10, 2012, in Weymouth and Portland, England. (AP Photo/Bernat Armangue)

  • Connor Fields

    Latvia's Edzus Treimanis (127) and Latvia's Rihards Veide (84) avoid a crash by United States' Connor Fields (11) in a BMX cycling men's semifinal run during the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Matt Rourke)

  • Mariana Pajon

    Colombia's Mariana Pajon (5) leads the competition in a BMX cycling women's semifinal run during the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Matt Rourke)

  • Petar Stoychev

    Spectators watch Bulgaria's Petar Stoychev, middle, compete during the men's 10-kilometer swimming marathon at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Kirsty Wigglesworth)

  • Germany

    The team from Germany performs during the rhythmic gymnastics group all-around qualifications at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Julie Jacobson)

  • Denys Berinchyk, Munkh-Erdene Uranchimeg

    Mongola's Munkh-Erdene Uranchimeg (in red) upends Ukraine's Denys Berinchyk during their light welterweight 64-kg semifinal boxing match at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Patrick Semansky)

  • Jordan Ernest Burroughs

    United States' Jordan Ernest Burroughs, in red, competes against Russia's Denis Tsargush, in blue, during a 74-kg men's freestyle wrestling competition at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Paul Sancya)

  • Nur Tatar

    Turkey's Nur Tatar fights United States' Paige McPherson (in red) during their quarterfinal round match in women's 67-kg taekwondo competition at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Ng Han Guan)

  • Georgie Twigg, Krystal Forgesson

    Britain's Georgie Twigg, left, and New Zealand's Krystal Forgesson vie for the ball during the women's field hockey bronze medal match at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Eranga Jayawardena)

  • Mariana Pajon

    Colombia's Mariana Pajon (5) leads cyclists as they compete in a BMX cycling women's semifinal run at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Sergey Ponomarev)

  • Great Britain

    The team from Britain performs during the rhythmic gymnastics group all-around qualifications at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Julie Jacobson)

  • China

    The team from China competes during the synchronized swimming team free routine final at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. China took the silver medal in the event. (AP Photo/Mark J. Terrill)

  • David Beckham

    David Beckham, center, watches BMX cycling during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Christophe Ena)

  • China

    The team from China competes during the synchronized swimming team free routine final at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. China took the silver medal in the event. (AP Photo/Mark J. Terrill)

  • Guor Marial

    Marathon runner Guor Marial, who is stateless, appears during a news conference at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. Marial, from South Sudan, will compete in the marathon under the Olympic flag. (AP Photo/Darron Cummings)

  • Swimming

    Swimmers dive into the Serpentine to start the men's 10-kilometer marathon swimming competition in Hyde Park at the 2012 Summer Olympics Friday, Aug. 10, 2012, in London. (AP Photo/Charlie Riedel)

  • Andres Eduardo Jimenez Caicedo

    Colombia's Andres Eduardo Jimenez Caicedo competes in a BMX cycling men's semifinal run during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Christophe Ena)

  • Russia

    The team of Russia and winner of the gold medal competes during the women's team synchronized swimming free routine at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Michael Sohn)

  • Oleksandr Usyk, Tervel Pulev

    Bulgaria's Tervel Pulev gets knocked down by Ukraine's Oleksandr Usyk in their heavyweight 91-kg semifinal boxing match at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Patrick Semansky)

  • Spain

    The team from Spain competes during the synchronized swimming team free routine final at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. Spain won the bronze medal in the event. (AP Photo/Mark J. Terrill)

  • Nicolas Garcia Hemme

    Spain's Nicolas Garcia Hemme fights Britain's Lutalo Muhammad (in red) during their quarterfinal round match in men's 80-kg taekwondo competition at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Ng Han Guan)

  • Russia

    The team of Russia and winner of the gold medal competes during the women's team synchronized swimming free routine at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Michael Sohn)

  • Italy

    The team from Italy performs during the rhythmic gymnastics group all-around qualifications at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Julie Jacobson)

  • Alex Danson

    Britain's Alex Danson, right, celebrates after scoring a goal against New Zealand during the women's field hockey bronze medal match at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Eranga Jayawardena)

  • Teymur Mammadov, Clemente Russo

    Italy's Clemente Russo reacts to winning his bout against Azerbaijan's Teymur Mammadov in a heavyweight 91-kg semifinal boxing match at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Patrick Semansky)

  • Russia

    The team of Russia and winner of the gold medal poses during he medal ceremony for the women's team synchronized swimming free routine at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Michael Sohn)

  • Alise Post

    United States' Brooke Crain (32) passes Alise Post, also of the U.S., who crashed in a BMX cycling women's semifinal run during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Christophe Ena)

  • Milos Scepanovic, Sandro Sukno

    Montenegro goalkeeper Milos Scepanovic, right, is unable to stop a penalty shot by Croatia's Sandro Sukno during a men's semifinal water polo match at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. Croatia won 7-5. (AP Photo/Julio Cortez)

  • Maris Strombergs

    Latvia's Maris Strombergs reacts after winning the men's BMX cycling event at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. Strombergs won his second straight Olympic gold medal in BMX on Friday, taking the lead out of the starting gate and never relinquishing it. (AP Photo/Sergey Ponomarev)

  • Olympic Park

    Spectators strolls through Olympic Park at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Hassan Ammar)

  • Sergey Grankin

    Russia's Sergey Grankin reaches for the ball during a men's semifinal volleyball match against Bulgaria at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Jeff Roberson)

  • China

    The team of China and winner of the silver medal competes during the women's team synchronized swimming free routine at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Michael Sohn)

  • Croatia

    Croatia supporters chant during a men's semifinal water polo match between Croatia and Montenegro at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. Croatia won 7-5. (AP Photo/Julio Cortez)

  • Maris Strombergs

    Latvia's Maris Strombergs leads the competition during a BMX cycling men's final run during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. Strombergs won his second straight Olympic gold medal in BMX on Friday, taking the lead out of the starting gate and never relinquishing it. (AP Photo/Christophe Ena)

  • Great Britain

    Britain's players celebrate after winning the women's field hockey bronze medal match against New Zealand at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Eranga Jayawardena)

  • Mariana Pajon

    Colombia's Mariana Pajon reacts after winning the women's BMX cycling competition during the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. Pajon, a former world champion, has won the women's BMX competition at the London Olympics, giving Colombia its first gold of the games.(AP Photo/Matt Rourke)

  • Cathryn Finlayson

    New Zealand's Cathryn Finlayson, left, walks off the field as Britain's hockey players celebrate their 3-1 win in a women's field hockey bronze medal match at the 2012 Summer Olympics, London, Friday, Aug. 10, 2012. (AP Photo/Jae C. Hong)

  • Spain

    The team of Spain and winner of the bronze medal poses during he medal ceremony for the women's team synchronized swimming free routine at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Michael Sohn)

  • Japan

    The team from Japan competes during the synchronized swimming team free routine final at the Aquatics Centre in the Olympic Park during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. Japan finished fifth in the event. (AP Photo/Mark J. Terrill)

  • Sasha Kaun

    Russia's Sasha Kaun (8) slam dunks the ball to score against Spain during a semifinal men's basketball game at the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Eric Gay)

  • David Cameron

    Prime Minister David Cameron has lunch during a visit with Britain's athletes at the Olympic Athletes' Village during the 2012 Summer Olympics, Friday, Aug. 10, 2012, in London. (AP Photo/Scott Halleran, Pool)

  • Carlos Mario Oquendo Zabala

    Colombia's Carlos Mario Oquendo Zabala celebrates winning the bronze medal on the podium after the men's BMX cycling event during the 2012 Summer Olympics in London, Friday, Aug. 10, 2012. (AP Photo/Christophe Ena)