A total of 40 million units were sold in India just in Q3 2017 and for the first time, India has overtaken the U.S. to become the second largest second largest smartphone market after China, according to the latest report from Canalys.

The growth is attributed to smartphones from two most popular Android brands in India – Samsung, and Xiaomi. The brands shipped 9.4 million and 9.2 million units respectively, and accounted for almost half of the total market.

“But Xiaomi focuses on the low end. It struggles in the mid-range (devices priced between INR15,000 and INR20,000 [US$230 and US$310]), where Samsung, Oppo and Vivo are particularly strong. Nevertheless, we predict Xiaomi’s continued go-to-market innovations will allow it to overtake Samsung within a couple of quarters.” said Canalys Analyst Rushabh Doshi.

Canalys Research Analyst Ishan Dutt said “There are close to 100 mobile device brands sold in India, with more vendors arriving every quarter. In addition, India has one of the most complex channel landscapes, but with low barriers to entry. Growth will continue. Low smartphone penetration and the explosion of LTE are the main drivers.”

Apple recorded more than double iPhone shipments to 900,000 units in Q3, 2017 as compared to same period last year.