A woman has been charged with murder after apparently confessing to stabbing her boyfriend to death.

Police launched a manhunt for Nakasia James, 18, in San Bernardino, US, after Dorian Powell was found dead inside an apartment.

Officers rushed to the scene at around 2.30am on January 11 following reports of a man being stabbed during a domestic dispute.

Mr Powell, 21, was declare dead at the scene.

Later that day, a person with the same name as James posted several status updates on Facebook, some with apparent confessions to the murder.

"Just goin tell ya nw be4 I get caught," one of the posts stated. "We was really fightn and I gt the knife and stabbed him ddnt think I would hurt him BT I did he died and I'm on the run."

On Sunday, police said they had arrested James and charged her with murder.