The highest paid athletes in the world come from a variety of countries and sports, according to a ranking by Forbes.

The magazine's list of the world's 100 highest paid athletes in 2017 shows that celebrity athletes earn money through product endorsements and tournament prizes, and donate much of those earnings to charities.

Basketball was well represented with 32 NBA players making the top 100 list, with LeBron James and three other NBA players ranked in the top 10 of highest paid athletes. Major League baseball followed with 22 players represented, while the NFL had 15 athletes on the list.

Some athletes have been on the list in previous, while some are on the list for the first time. One newcomer is NFL quarterback Andrew Luck of the Indianapolis Colts, who ranked in sixth place with collective earnings of $50 million.

Forbes also noted that NBA star Stephen Curry rose up 61 spots on the list due to numerous endorsements deals in the U.S. and China. 

Earning a total of $3.11 billion over the past year, the top 100 athletes take-homeearnings fell short of last year’s $3.15 billion. The top 100 highest paid athletes earnings were calculated by based on salary, endorsements and prize winnings.

The ranking of salaries and bonuses for all athletes were based on earnings between June 1, 2016, and June 1, 2017. 

The following 10 athletes sit atop the Forbes wealthiest athletes list, in ascending order:

10. Lewis Hamilton

The 33-year-old British Formula One driver earned $46 million. Hamilton has endorsement deals totaling $8 milion with L’Oreal, Puma, Bose and Monster Energy. He has the second most Formula One Grand Prix wins.