A man charged with killing his ex-wife and seven others in a shooting rampage at a hair salon is expected to appear in a Southern California courtroom to plead guilty.

Assistant public defender Scott Sanders says 44-year-old Scott Dekraai plans to enter guilty pleas Friday to eight counts of murder and one count of attempted murder with special circumstances and enhancements.

Sanders said earlier this week that Dekraai wanted to spare victims' relatives a lengthy trial over his guilt while he continues to fight prosecutors' efforts to have him sentenced to death.

Prosecutors say they are still seeking the death penalty for Dekraai.

Dekraai is charged with killing his hairstylist ex-wife and seven others at Salon Meritage in Seal Beach in 2011. Police arrested him minutes after the shootings.