RALEIGH, N.C. (AP) - A man accused of killing his wife and daughter and posing their bodies before posting their picture on Facebook has rejected a plea agreement that would have avoided a trial.

The News & Observer of Raleigh reports that 54-year-old Elhadji Seydou Diop pleaded not guilty Thursday to two counts of first-degree murder, rejecting an agreement to plead guilty to second-degree murder and voluntary manslaughter.

Prosecutors say 40-year-old Aminata Drame and the couple's 2-year-old daughter, Fatim Diop, were killed in their Raleigh townhouse on April 5, 2016.

Police went to the family's home after Diop's niece in Senegal saw photos of the dead bodies that he allegedly posted on his Facebook page.

If convicted, Diop could face the death penalty or life in prison.