Serbia's Novak Djokovic won through a five-hour marathon to overcome former Australian Open finalist Marcos Baghdatis 7-6 (7-4), 7-6 (11-9), 6-7 (3-7), 4-6, 7-5, in the Wimbledon quarterfinals.