A photo of Ofo bikes piled up at a Dallas recycling center has drawn some ire on social media after the bike-share company decided to leave the city.

Hundreds of the yellow bikes were seen at the CMC Recycling facility in South Dallas, a company that works with businesses and individuals looking to sell scrap metal.

The bike-share company said in a statement that it was working with the company to recycle the bikes.

"As we wind down select markets, we remain committed to environmental sustainability," Ofo wrote in the statement.

Mayor Mike Rawlings tweeted a simple response to the bikes piled up at the recycling center: "Terrible."

His spokesman told KXAS-TV (NBC5) that dumping all the bikes in a recycling plant seemed "terribly wasteful" because people could still ride them.

Ofo said bikes in "good working condition" were donated to local organizations like City Square and Bikes for Tykes.

Beijing-based Ofo announced it was pulling out of Dallas in July, after the Dallas City Council passed rules in June requiring bike-share operators to pay for permits and fees per vehicle. At the time, Ofo said it had about 5,000 bikes throughout the city.

Ofo complained about the "exorbitant fees" in a statement to The Dallas Morning News. The new rules require the companies to pay an $808 application fee and $21 per bike if they want to operate in Dallas.

The number of bikes around Dallas is dwindling: At the height of the bike-share tide, there were about 20,000 bikes around the city. Now, that number is less than 3,500.