TORONTO, Canada (AFP) - Afghanistan defeated Canada by two wickets in a rain-affected Intercontinental Cup one-day international at King City.

It was Afghanistan's second successive victory over the hosts after a nine-wicket win in a four-day fixture, a result that confirmed the Asian team's growing power as a leading second-tier, Associate nation.

Canada, who played in the World Cup earlier this year, on Sunday made 230 all out in 44.5 overs before Afghanistan reached their Duckworth-Lewis target of 213 from 43 overs with 11 balls to spare.

Despite being put in to bat, Canada were well-set for an imposing total at one stage when openers Hiral Patel (62) and Ruvindu Gunasekera (57) put on 75 for the first wicket by the 10th over.

But a middle-order collapse allowed Afghanistan to retake control.

Gunasekera's runs came off 40 balls and featured five fours and three sixes while Patel faced 85 balls, hitting three boundaries.

Mohammad Nabi was the pick of the bowlers finishing with 4-31 as Canada eventually lost their last seven wickets for just 49 runs.