It looks like the iPhone had a pretty decent holiday quarter.
In the U.S., Apple’s iPhone 7, iPhone 7 Plus and iPhone 6s were the three most popular smartphones and accounted for 31.3 percent of smartphone sales for the three months ended Nov. 30.
Samsung’s Galaxy S7 and S7 Edge were the next two best-selling phones, giving the Korean firm 28.9 percent of the market, according to data released Wednesday by Kantar WorldPanel.
The iPhone also did well in the major European countries, Kantar said, accounting for nearly a quarter of the market. Android also gained market share, to 72.4 percent, as Windows continued to fade, now accounting for just 3 percent there.
China continued to be a challenging market for the iPhone, with its market share dipping below 20 percent, down from more than 25 percent in the same period of 2015.
While Android continues to grow its share of the global smartphone market, it is actually losing share in the U.S. Kantar’s data shows Android phones making up 55 percent of U.S. smartphone sales compared with more than 60 percent in the same period a year ago.
Google’s Pixel phone accounted for 1.3 percent of smartphones sold, Kantar said, with more than half of its sales coming through Verizon.
It’s worth noting that Apple tends to gain market share in the holiday quarter, though Kantar notes that Android has lost share in the U.S. for the past six quarters. Apple’s full quarterly results, which should provide a fuller picture on how the iPhone did in the final quarter of the year, are set to be released on Jan. 31.
This article originally appeared on Recode.net.