PARIS (Agencies) - Serbian Novak Djokovic said he knew that his 43-match unbeaten dream run would come to an end soon, but never expected it to come at the wrong time French Open semifinal defeat to Roger Federer. It was definitely an incredible period. It had to end somewhere. I knew it was coming. Unfortunately, it came in at the bad moment. It was a big match today. But thats sport. I will keep on working hard, said the 24-year-old Djokovic. The world No.2 said he will learn vital lessons from the semifinal which lasted three and half hours. It was a great tournament. It was the best five months of my life and my tennis career. I cannot complain, he said. Djokovic suffered a stunning 7-6 (7/5), 6-3, 3-6, 7-6 (7/5) loss to Federer, which ended his hopes of making a first Roland Garros final and halted his bid to become world No.1. The loss also left Djokovic one win short of matching John McEnroes 1984 mark of a 42-match winning start to a season. Novak Djokovic said he knew his 43-match winning run would have to end, but insisted that his heartbreaking French Open semi-final defeat to a rejuvenated Roger Federer will make him stronger. Djokovic suffered a stunning 7-6 (7/5), 6-3, 3-6, 7-6 (7/5) loss to Federer which ended his hopes of making a first Roland Garros final and temporarily halted his bid to snatch the world number one spot. But the 24-year-old world number two was adamant he will learn vital lessons from the semi-final which ended in the Paris gloom after three and half hours of gripping action. It was a great tournament. It was the best five months of my life and my tennis career. I cannot complain. It was definitely an incredible period. It had to end somewhere. I knew it was coming, said Djokovic. Unfortunately, it came in the bad moment. It was a big match today. But thats sport. I will keep on working hard. Defeat also left Djokovic one win short of matching John McEnroes 1984 mark of a 42-match winning start to a season. There was symmetry to the outcome as Federer had been the last man to beat Djokovic at the World Tour finals in November before the Serb went on his run which yielded a Davis Cup, the Australian Open as well as six other titles. Federer dominated the crucial parts of the semi-final. He served 18 aces, the last of which secured him victory on a third match point, and carved out 25 break point opportunities as Djokovic was forced constantly on the defensive. But he came agonisingly close to stretching the tie into a fifth set when he broke to lead 5-4 in the fourth set and had the chance to serve it out before Federer took the tie break. He played an incredible match today, and all the credit to him, said Djokovic of a player he had defeated three times already in 2011. He went for the shots when he needed to. He served really well when he needed to serve well. But what happened, happened. I cannot affect it anymore. In some moments I was lucky; in some moments he was lucky. But this is sport. A couple of points really decide the winner, especially at this level. I was aware of that. Theres not much to be sorry for. Federer, who will be playing in his first Grand Slam final since his 2010 Australian Open triumph gave him the last of his 16 majors, said his victory was probably his best performance of a difficult year. I thought it was played at a very high level for a very long time, said the Swiss. I thought I did really well. It was a tough start where I was able to break. There was break backs, because thats how we play against each other. Its so intense and hes such a good return player that I always know hes got something in his racquet to really break me, as well. I really wanted to make it as physical as possible, which I was able to make happen. Djokovic, who will skip the Queens grass court event to rest up before Wimbledon, does have an interest in Sundays title match between Federer and five-time champion Rafael Nadal. A defeat for the Spaniard will make him the new world number one when the rankings are released on Monday.