Danell Leyva's performance during the Men's All-Around gymnastics final Wednesday got off to a rocky start, to say the least.

The Cuban-born gymnast's lackluster execution of his first two routines put him in 19th place. Still, the determined Leyva rallied, pulling off medal-worthy scores during his last two events, the parallel bars and the horizontal bar.

PHOTOS: Meet Team USA's gymnasts!

When all was said and done, Leyva's stellar final routines boosted his score enough to land him the bronze medal; the gold went to Kohei Uchimora of Japan, and the silver to Marcel Ngyuen of Germany.

Earlier this year, Leyva, 20, opened up to Us Weekly about his underdog status going into the London Olympics.

PHOTOS: One Olympian's hottest body moments

Said the athlete, "I did always love to prove everyone wrong. I'm always trying to prove people wrong and trying to be the best."

Want more Olympics? Meet Team USA's families, go inside their homes (and gyms!), and more! Check out Us Weekly's Olympic collectors edition, "American Heroes," on newsstands now. Order at bn.com/usolympics.

This article originally appeared on Usmagazine.com: Gymnast Danell Leyva Makes Dramatic Comeback, Earns Bronze Medal