By The Associated Press

Michael Phelps has finally met his match in the water: a “great white shark.”

READ MORE: Some Michigan Residents Now Have To Dial 10-Digit Numbers

The Olympic champion swimmer was bested Sunday night in the Discovery Channel’s Shark Week special “Phelps vs. Shark: Great Gold vs. Great White.”

But Phelps didn’t swim with a real shark. He competed in the ocean against a computer-simulated fish based on data on the swimming speed of sharks.

READ MORE: The Detroit Zoo To Host Its Final Weekend Of Family-Friendly Halloween Event 'Zoo Boo' Oct. 22-24

Phelps was outfitted with a wetsuit and a monofin to mimic a shark’s powerful tail. He finished the 100 meter race in 38 seconds, two seconds slower than the simulated shark.

Phelps tweeted Sunday that he’d like a rematch, but in warmer water.

MORE NEWS: Tillson Street's Halloween Displays Draws Thousands

(Copyright 2017 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)