Research firm IDC said Wednesday that smartphone shipments dropped 2.9% in the first quarter, fueled by weakness in China. A total of 334.3 million smartphones shipped during the quarter, down from 344.4 million a year earlier. IDC said that shipments in China dropped to below 100 million for the first time since 2013. “Globally, as well as in China, a key bellwether, smartphone consumers are trading up to more premium devices, but there are no longer as many new smartphone converts, resulting in shipments dropping,” said associate research director Melissa Chau in a release. Samsung Electronics Co. Ltd. led the pack with 23.4% market share during the quarter, followed by Apple Inc. with 15.6% share. Apple reported quarterly earnings Tuesday afternoon and management said that the iPhone X was the company’s best selling phone in every week through the quarter. The company posted a 21% revenue gain in China but didn’t break out specific details about category performance in the region. Apple shares are up 19% over the past 12 months, while the Dow Jones Industrial Average has gained 15%.