The iPhone beat out all other smartphones in 2016, in terms of shipments, according to analysis from the firm IHS Markit.

The iPhone 6S performed better than all competitors last year, the firm said. In the fourth quarter alone, Apple’s latest smartphone, the iPhone 7 was 2016’s best seller, followed by the iPhone 7 Plus.

Read: iPhone 8 News: Apple Will Receive 14 Percent Of Total OLED Panel Global Production This Year

“Apple again has demonstrated that its new iPhones integrate enough innovations and new features to drive sales and remain successful in the market,” IHS said. “The company is also capable of selling older devices for an extended period of time. For instance, the year-old iPhone 6s and 6s Plus were both among the most-shipped models in 2016.”

The Smartphone Shipment Database placed the Samsung Galaxy S7 Edge fifth on the 2016 list, while the S7 came in at ninth place. Although Samsung had a tough year after the Galaxy Note 7 devices were globally recalled, the S7 Edge and S7 outperformed the S6 and S6 Edge. Combined shipments of the S7 and S7 Edge in 2016 were 10 million higher than the S6 and S6 Edge over the same period, IHS said.

Read: Samsung Reportedly Planning To Offer Unconditional Refunds For The Galaxy S8

Overall, Samsung took five spots out of the top 10 most-shipped smartphones last year, while Apple took the top four places on the list.

“Samsung’s ability to drive the sales of older premium devices was impressive,” said IHS Markit. “Aggressive promotions, which included bundling with Gear VR, helped sales of S7 and S7 Edge.”

When it comes to Chinese manufacturers, Huawei, which is the third largest smartphone maker, did not have any models in the top 10 list. On the hand, OPPO had one model included in the ranking, the A53.

Here’s the breakdown of shipments:

Apple's iPhone beats out Samsung in shipments Apple's iPhone beats out Samsung in shipments, analysis by IHS Markit shows. Photo: IHS Markit