This is how Google is celebrating the Winter Olympics.

This is how Google is celebrating the Winter Olympics.

Shaun White pulled off a gold-medal comeback in the halfpipe, and Japan’s Ayumu Hirano won silver on the strength of a phenomenal second run.

CORRECTION: An early version of this story reported that White had won silver — that was reported after the second run had completed. On his third run, White won gold.

White missed out on a medal back in 2014, when he was hurt at the Sochi Games. He’s now the only snowboarder ever to win three gold medals at the Olympics. And he did it by winning the 100th gold medal for the U.S.

Held one day after American Chloe Kim dominated the women’s halfpipe, the men’s final was a duel between White, Hirano, and Australia’s Scotty James — who came out strong on his first run, scoring a 92.

White stepped up next with an incredible array of tricks, height and precision, soaring above the halfpipe and landing cleanly. The judges rewarded him with a 94.25 — and that was nearly his best score of the day, after a stumble marred his second run.

White began celebrating immediately, ripping his helmet off and throwing it, his arms raised above his head. But he would need another strong run to claim gold.