PHILADELPHIA (CBS) — The horses that give tours for Philadelphia Carriage Company will finally get some respite. The company agreed on Thursday morning to cease operations at the end of the year and turn its horses over to the city.

READ MORE: Funeral Services Held At Temple University's Liacouras Center For 12 Victims Killed In Fairmount Fire

The city has been trying to get control of the horses after discovering what it describes as inhumane conditions at the company’s stables on 13th Street.

Philadelphia Carriage’s owner has been fighting it off for six months but her attorney, Barry Penn, says she decided it was time to move on.

“She’s been operating there since 1977 and since her husband died in 2009, she’s been running it herself and it’s not been easy. She’s done the best that she could,” said Penn.

READ MORE: Police Investigating Stickers Advocating White Supremacy Found On Signs Along Several Streets On Main Line

Janet White, with the advocacy group Carriage Horse Freedom, disagrees.

“We’ve seen the very cruel conditions these horses have had to endure,” said White.

White is pleased with the outcome. The city has promised to deliver the horses to a certified sanctuary.

“I think it just makes sense,” said White.

MORE NEWS: Third Monday Of January Known As Blue Monday, Saddest Day Of Year

The agreement leaves just one carriage tour company operating in the city.