As Facebook CEO Mark Zuckerberg has prepared to apologize this week on Capitol Hill over security issues, the social media giant’s lawyers struck a less conciliatory tone in court, where about 20 consumer class actions are pending over the Cambridge Analytica debacle.

In prepared testimony released ahead of Wednesday’s hearing before the U.S. House of Representatives Committee on Energy and Commerce, Zuckerberg apologized for Cambridge Analytica and other lapses that led to fake news, foreign interference in elections and hate speech on Facebook. “We didn’t take a broad enough view of our responsibility, and that was a big mistake,” Zuckerberg said. “It was my mistake, and I’m sorry.” Zuckerberg also faces a joint hearing of the U.S. Senate Commerce and Judiciary committees on Tuesday.