On 21 March 2006, she resigned from her office as minister of foreign affairs, after it was confirmed that she lied to media about her involvement in the closing of a website belonging to the Sweden Democrats, in the wake of the Jyllands-Posten Muhammad cartoons controversy. During the controversy the Sweden Democrats published a similar cartoon on their web pages, only to be shut down shortly after by their internet service provider. It was initially discovered that the government had been in contact with the provider and suggested to them the closure, but Freivalds maintained to the media that a subordinate had done so without her knowledge.