A South Florida man who authorities say fatally shot his wife — and apparently then posted a photo of her body on Facebook — has been charged with first-degree murder.

South Florida home of Derek Medina (Joe Raedle/Getty Images)

Police say in an arrest affidavit that 31-year-old Derek Medina says he shot 26-year-old Jennifer Alfonso several times at their South Miami home after she punched him repeatedly and wielded a knife He tells police that he had armed himself with a gun during a verbal dispute when she said she was "leaving him."

When officers went to the home, they found Alfonso's body, as well as her 10-year-old daughter, who was unharmed.

A post on a Facebook page identified as Medina's says, "I'm going to prison or death sentence for killing my wife." The photo was up for more than five hours before it was removed by Facebook.

(Copyright 2013 The Associated Press. All Rights Reserved)