T-Mobile USA says that subscribers were more likely to stick with the company in the last three months, a welcome trend for a company that's struggling against larger competitors.

T-Mobile, the U.S. arm of German phone company AG, said it gained 3,000 customers under its own brand in the . It was the first report of a quarterly gain in years. In the same quarter last year, it lost 261,000 branded subscribers.

It ended the quarter with 26.1 million customers under its own brand, and another 7.8 million on wholesale access deals.

Analyst Kevin Smithen at Macquarie Securities says customers may have been more likely to stick with T-Mobile since they knew the company was getting the soon. It starts selling the phone on April 12.