Afghanistan have sparked mass celebrations across their country after qualifying for their first World Cup after beating Kenya for a second time at Sharjah.

Afghanistan captain Mohammad Nabi won the toss and after bowling Kenya out for 89 in the first ODI, he had no hesitation in asking Kenya to bat first again in this match.

Kenya opened the batting with Irfan Karim and 15 year old debutant Gurdeep Singh, who became the second youngest ODI player ever behind Hasan Raza of Pakistan. The openers didn't last long though, both falling within the first ten overs. Kenya were scoring at a snails pace, and were only on 16 when the third wicket fell in the 17th over.

Maurice Ouma and Rakep Patel put on 53 for the fourth wicket to briefly raise Kenyan hopes of posting a reasonably competitive total, but they soon collapsed to 93 all out, Hamza Hotak taking 3-19.

With a huge audience said to be watching on TV back home in Afghanistan, including president Hamid Karzai, the pressure initially told on Afghanistan and they did struggle for a while, and they were on 34-3 after 11 overs.

But captain Mohammad Nabi and Hashmatullah Shaidi took the team home with an unbroken 62 run partnership for the fourth wicket to secure the seven wicket win, Nabi the top scorer with 46.

The win secured Afghanistan's place in the 2015 World Cup, where they will be in a group with Australia, England, Sri Lanka, Bangladesh, New Zealand and the winners of the World Cup Qualifier in New Zealand early next year.

The celebrations in Afghanistan continued into the night, but for the Afghan players, they have to prepare for the Intercontinental Cup match which starts on Sunday.