The man accused of breaking into U.S. House Speaker Nancy Pelosi's San Francisco home and beating her 82-year-old husband Paul with a hammer pleaded not-guilty to state charges Wednesday.

David DePape is charged in state court with attempted murder, first-degree residential burglary, elder abuse, assault with a deadly weapon, false imprisonment and threatening a family member of a public official.

Prosecutors say DePape planned to kidnap the House speaker when he broke into her residence on Oct. 28 — only to find her husband home alone. Instead, DePape, 42, is charged with beating her husband with a hammer in an attack that was witnessed by two police officers.

Paul Pelosi was knocked unconscious and suffered head, arm and hand injuries. He has since undergone surgery to mend a skull fracture and made his first public appearance wearing a hat and gloves to cover his wounds.

DePape told police he wanted to "break her kneecaps" and send a message to other congress members that there were "consequences to actions."

In November, DePape pleaded not guilty to federal charges shortly after his arrest. DePape waived his right to a speedy trial during Wednesday's hearing and was ordered back to court on Feb. 23 to set a date for his trial.

San Francisco Police Sgt. Carla Hurley, who interviewed DePape for an hour the day of the attack, testified that Depape told her of other people he wanted to target, including California Gov. Gavin Newsom, actor Tom Hanks and Hunter Biden, one of President Joe Biden's sons.