SAN DIEGO (CNS) - A La Mesa man accused of posing as a doctor and promising patients he could could cure cancer and HIV must stand trial on nine felony counts, including treating people without a medical license and grand theft, a judge ruled Tuesday.

Judge Kenneth So dismissed two counts of identity theft against Keith Allen Barton, 51, who faces up to eight years in state prison if convicted on the remaining charges.

Authorities allege the defendant called himself "Dr. Barton" and promised to cure a woman and her two children of HIV. One of the children subsequently died at age 9 as a result of not receiving effective treatment, for which the mother paid Barton $18,000, prosecutors allege.

According to authorities, Barton is not a licensed medical doctor, osteopath or naturopath but has the same first and last name as a real medical doctor who is licensed in California, which helped the defendant create the impression that he was a licensed professional.

Majida Ibrahim, an investigator for the California Medical Board, testified that agents found thousands of patient files and supplements during a search of the defendant's home.

"He (the defendant) said he was a naturopath (and not licensed)," Ibrahim testified.

Barton told the investigator that he never meant to be the real Dr. Barton, according to the witness.

The defendant allegedly said he provided treatment for cancer, allergies and other ailments, with more than 200 doctors on staff, including surgeons working for him in Tijuana.

An undercover agent testified that Barton told her his therapy treatment "would cure my cancer" and wrote him a check for $8,760.

A man testified that he contacted Barton a few months after his wife's health declined in late 2009. The witness said Barton gave his wife two injections of cell therapy in 2010, but that Barton never claimed to be a medical doctor.

After Barton's Jan. 8 arrest, District Attorney Bonnie Dumanis alleged the defendant, by posing as a doctor and charging thousands of dollars for a phony cure, showed "callous disregard" for his victims and the medical field.

"This case is a reminder that consumers need to be particularly wary of unapproved `miracle' cures, especially when they are offered by practitioners who run clinics south of the border," said prosecutor Gina Darvas.

A Superior Court arraignment was set for July 2.

Barton posted $100,000 bail after his arrest.