Michael Phelps placed fourth in his first international final since coming out of retirement, with Cameron McEvoy upstaging the most decorated swimmer of all time to take the 100-meter freestyle title at the Pan Pacific championships.

The 20-year-old McEvoy of Australia won in 47.82 seconds in rainy conditions Friday night at the Gold Coast Aquatic Centre's outdoor pool, edging Olympic champion Nathan Adrian of the United States into second place at 48.30 and world champion James Magnussen into third at 48.36.

Phelps was swimming a freestyle relay later Friday, and has butterfly and medley events over the weekend as he seeks to qualify for next year's world championships and the 2016 Olympics.

More From ESPN Western Colorado