Mark Zuckerberg has regrets.

"I'm really sorry that this happened," the Facebook (FB) CEO told CNN's Laurie Segall in an exclusive TV interview on Wednesday.

News broke this weekend that Cambridge Analytica, a data firm with ties to President Donald Trump's 2016 campaign, accessed information from 50 million Facebook users without their knowledge, and might have kept that data even after Facebook told the company to delete it.

The revelation put Facebook and Zuckerberg under the microscope for their handling of user data and privacy.

Zuckerberg addressed the scandal publicly through a Facebook post on Wednesday. He wrote that the company made "mistakes" and outlined how it has changed its policies to make sure that user data is protected.

"I wish we'd taken those steps earlier," Zuckerberg told Segall. "That ... is probably the biggest mistake that we made here."

Related: Mark Zuckerberg says he is 'happy to' testify before Congress

In 2014, Facebook changed its platform to limit the amount of data that third-party developers could access.

Aleksandr Kogan, the data scientist who passed along data to SCL Group and its affiliate Cambridge Analytica, built a Facebook app that drew data from users and their friends in 2013. He was allowed access to a broad range of data at the time.

Though Kogan's data was properly obtained, he breached Facebook's policy when he shared that information with a third party, Facebook has said. When Facebook learned about the information being shared, it asked Cambridge Analytica to destroy the data. Cambridge said it had.

But a former contractor, Christopher Wylie, disputes that Cambridge Analytica destroyed the user data.

Zuckerberg told Segall that he regrets taking Cambridge Analytica at its word. "This was clearly a mistake," he said.

Related: Mark Zuckerberg in his own words: The CNN interview

Zuckerberg said Facebook plans to alert everyone whose data was accessed by Cambridge Analytica. But he added that he wishes the company hadn't waited so long to tell people what happened.

"That's definitely something that, looking back on this, I regret that we didn't do at the time," he told CNN. "I think we got that wrong."

And he said he's made other mistakes along the way.

"I started this when I was so young and inexperienced," the 33-year-old Zuckerberg said. "I made technical errors and business errors. I hired the wrong people. I trusted the wrong people," he said.

"I've probably launched more products that have failed than most people will in their lifetime."

But ultimately, he said, he's learned from his missteps.

"That's the commitment that I try to have inside our company, and for our community."