Is Novak Djokovic the best tennis player in history? 0:35

(CNN) -- Novak Djokovic's greatness on the tennis court is such that he is expected to win most of his matches, so when the Serbian lost twice on Saturday it was a surprise of seismic proportions.

That he lost one of his matches after having three match points was incredible, given that there is no one more adept at closing out a match than the world No.1.

He was beaten in both singles and doubles in Malaga, Spain, as Italy beat Serbia 2-1 to set up for the Davis Cup final against Australia on Sunday.

Jannik Sinner stunned Djokovic in a 6-2, 2-6, 7-5 victory in their singles match, and the Italian saved three match points en route to victory after a two-hour, 35-minute epic that helped underdog Italy draw with Serbia in the semifinal.

Sinner earned the only break point he had managed against Djokovic in the final set to clinch a memorable victory.


It was the 22-year-old's second win over Djokovic this month, having beaten the 24-time Grand Slam champion in the group stage of the ATP Finals before losing to him in the final.

Later that day, Djokovic experienced another defeat, this time when he and compatriot Miomir Kecmanovic fell 6-3, 6-4 in doubles to Sinner and Lorenzo Sonego as Italy reached the final for the first time in 25 years, when Sinner wasn't even born.

Jannik Sinner has beaten Novak Djokovic twice this month.

"It was definitely a game-changer today," World No.4 Sinner said of saving three match points at 0-40 down at 4-5 in the deciding set, according to Reuters.

"I just tried to press on every point and the 0-40 game helped gain confidence and also after I broke it. It's all part of tennis.

"Obviously playing doubles in the final of a Davis Cup tie is not easy. There's a lot of pressure, I think we both handled it really well. We are a very complete team and each one of us is very happy to be here."

Djokovic enjoyed an incredible season, even by his lofty standards, winning three of the year's four Grand Slams and a record eighth ATP Finals title at the end of the season.

It was the Serb's first Davis Cup singles loss since 2011, when he was forced to retire injured by Argentina's Juan Martin del Potro.

"For me personally, it's a big disappointment, because I take responsibility, obviously having three match points and being so close to winning it," Djokovic said, according to the Davis Cup website.

"When you lose to your country, the feeling of bitterness is even greater."

Novak DjokovicTennis