(CNN) -- A white Mississippi man has been sentenced to life in prison for the 2011 murder of an African-American man, with the judge calling it an inexcusable, "despicable" crime.

Deryl Dedmon pleaded guilty to murder and a hate-crime charge before a judge in Jackson on Wednesday afternoon, admitting to the June killing of James Craig Anderson. Hinds County Circuit Judge Jeff Weill sentenced him to two concurrent life terms, saying, "This craven act isn't who we are."

"Whatever excuse you offer, forget that. There is no excuse," Weill said. He added, "The state of Mississippi condemns this despicable crime."


"Generosity. That was my first mistake."
"Experience must be our only guide; reason may mislead us."
"Instagram is Twitter for people who can't read."