(AP) – Spanish teenager Alberto Gines Lopez has won the first Olympic gold medal in sport climbing, riding a win in the speed discipline to the top of the podium.

The 18-year-old opened the finals with the speed win, then showed off his all-around skills by finishing seventh in lead and fourth in bouldering. He finished with 30 points — the finishes are multiplied together — to edge Utah’s Nathaniel Coleman by two.

Coleman topped three of the four “problems” to win bouldering, was fifth in lead and sixth in speed.

Austrian Jakob Schubert had the climb of the night, becoming the first man or woman to reach the top of the 45-foot high lead wall in three days of competition. His climb moved him into the bronze medal spot and knocked Czech climber Adam Ondra off the podium.