NIS, Serbia (AP) — Novak Djokovic was struggling before Daniil Medvedev retired with cramps and handed Serbia a 2-0 lead against Russia in their Davis Cup first-round tie on Friday.

Djokovic, playing his first match since a second-round loss at the Australian Open, won 3-6, 6-4, 6-1, 1-0 after producing a mediocre serve throughout the match on an indoor hard court.

Earlier, Viktor Troicki saved a match point to beat Karen Khachanov 6-4, 6-7 (4), 6-3, 1-6, 7-6 (2).