California Attorney General Kamala Harris (D) has accepted President Obama's apology for his comments about her appearance earlier this week.

“The Attorney General and the President have been friends for many years. They had a great conversation yesterday and she strongly supports him,” Harris spokesperson Gil Duran said Friday, according to the San Francisco Chronicle.

Duran clarified that Harris had accepted Obama's apology, which he gave in a phone call Thursday night after commenting at a fundraiser that she was the "best-looking attorney general."

Obama made the comment during a Democratic National Committee fundraising lunch Thursday in Silicon Valley.

"She's brilliant and she's dedicated, she's tough. ... She also happens to be, by far, the best-looking attorney general," Obama said. "It's true, c'mon."

Critics charged that Obama's mention of her appearance was sexist and inappropriate, and called for him to apologize.

And on Friday, at the White House press briefing, Obama spokesman Jay Carney said that Obama had in fact called and apologized.

"The president did speak with Attorney General Harris last night, after he came back from his trip, and he called her to apologize for the distraction created by his comments," White House press secretary Jay Carney said.

Carney added that Obama and Harris were "old friends and good friends," and the president "did not in any way want to diminish" her professional accomplishments.