The new CEO of Uber says he's sorry for "mistakes" the company has made—mistakes that could lead to the company losing its license to operate in London. London's taxi regulator, Transport for London, announced Friday that Uber's license would not be renewed.

"While Uber has revolutionized the way people move in cities around the world, it’s equally true that we’ve got things wrong along the way," Uber CEO Dara Khosrowshahi wrote. "On behalf of everyone at Uber globally, I apologize for the mistakes we’ve made."

Uber's license expires at the end of the month, but Transport for London said Uber has 21 days to appeal the decision and can continue operating while the appeal is being heard. The agency faulted Uber for its poor record of reporting serious crimes involving Uber drivers to the police. It also objected to Uber's handling of driver background checks and said Uber had not adequately explained whether it used software called "Greyball" to mislead British regulators the way the company had misled some Americans.

While Khosrowshahi has adopted a more contrite tone than his predecessor, Uber hasn't abandoned the grassroots lobbying tactics that has helped Uber win favorable treatment from regulators around the world. An Uber-sponsored online petition to let Uber continue operating in the city has garnered 750,000 signatures in three days.

"We will appeal the decision on behalf of millions of Londoners," Khosrowshahi promised. "But we do so with the knowledge that we must also change. As Uber’s new CEO it’s my job to help Uber write its next chapter."

Khosrowshahi took over as CEO from founder Travis Kalanick last month, and he may have to do a lot of apologizing in the coming months. Uber has suffered a wide range of scandals and controversies, including allegations of a sexist workplace culture and theft of technology from rival Waymo. Uber has also angered many of its drivers; a February video showed former Uber CEO Travis Kalanick lecturing a driver about "responsibility" after the driver complained about declining fares.

In the last few years, Uber has tangled with regulators across Europe. Two years ago, French authorities arrested two Uber executives, and Uber faced fines in France last year for running an illegal transport service. Uber also faced a temporary ban in Italy that was reversed by courts in May.

Uber has also been kicked out of Germany and Spain but was able to return to both countries after agreeing to only employ licensed taxi drivers.