Marcos Martinez is accused of the brutal murder of Vicky Ten Hoven. (photos PCSO/Facebook)

A man accused of his killing his grandmother in Maricopa has been deemed incompetent to stand trial.

However, Marcos Martinez may receive medical help to be able to function for a court trial in the future.

Pinal County Superior Court Judge Patrick Gard ruled Wednesday Martinez is “not competent but restorable.” Martinez underwent mental evaluations in May after his counsel told the court he refused to meet with attorneys.

Martinez is accused of murdering Vicky Ten Hoven, with whom he lived in Rancho El Dorado. She was found beaten and stabbed Jan. 28.

Court records showed Martinez had previously been involuntarily committed for mental health issues.

The court is determining if a local doctor or Yavapai County doctor will work with Martinez to restore his mental faculties. A hearing on the possibilities of restoration is set for Sept. 19.