The Southern Poverty Law Center, the advocacy organization known for exposing hate groups and fighting for civil rights, has agreed to pay $3.38 million and issue public apologies to an activist who challenged his inclusion in a 2016 SPLC publication that labeled him and several others “anti-Muslim extremists.”

The SPLC settlement heads off a potential defamation lawsuit from the Quilliam Foundation, which describes itself as a “counter-extremism” organization, and the think tank’s founder, British Islamic activist Maajid Nawaz. Quilliam’s website describes Nawaz as a former member of a global Islamist group who had a change of heart while imprisoned in Egypt, and is “now a leading critic of his former Islamist ideological dogma, while remaining a secular liberal Muslim.”