The Beijing-based bike-share company confirmed Thursday that it is leaving the Dallas market. The company, which rode into Dallas in December, is refunding remaining credits to Dallas customers and moving its bikes to other U.S. markets, said James Liao, director of operations for Mobike, in an email.

Mobike marks the third bike-share company to leave town. Another Chinese operator, Ofo, announced two weeks ago that it was riding out of Dallas. San Francisco-based Spin followed close behind. Ofo has pulled out of markets across the country and laid off most of its U.S. staff. Spin, which had fewer than 700 bikes in Dallas, has redesigned its website to focus on electric scooters instead of traditional bikes.

The departures come after Dallas City Council approved regulations in late June that require operators to get a permit and pay for the number of bikes or scooters in their fleet. It also requires the companies to have staffing that can quickly respond to complaints about bikes blocking sidewalks or being abandoned for days.

Two bike-share companies remain in Dallas: Garland-based VBikes and San Francisco Bay Area-based Lime. Lime, formerly called LimeBike, also rents electric scooters. Santa Monica-based scooter-share company Bird landed in Dallas in late June.

At its peak, city officials estimate there were about 20,000 bikes across the city — with most in downtown Dallas and Uptown. Now that number is fewer than 3,500 bikes, according to the two remaining bike-share operators.

"The challenges that we saw were a combination of factors, including: bike infrastructure, high traffic speeds and negative backlash towards bike-share itself," he said. "The city was generally working towards building infrastructure to support the systems, but we cannot necessarily put the entire burden of success on the city -- and due to the factors we observed, there is not one element that we could have identified as a solution."