The man accused of killing three people in an attack on a Colorado Planned Parenthood clinic defied his own defense attorney in court, declaring himself a "warrior for the babies" who would not be silenced by the lawyer tasked with potentially saving his life.

Robert Dear, 57, repeatedly interrupted public defender Daniel King and accused him of seeking a gag order in the case to conceal what Dear portrayed as Planned Parenthood's crimes that led to the Nov. 27 assault. The conflict added a new level of turmoil to a politically charged case that has already sparked debate about when political speech becomes a call for violence.

"You'll never know what I saw in that clinic," a bearded, unkempt and shackled Dear yelled on Wednesday in one of more than a dozen outbursts as King successfully argued for the gag order by contending that public discussion of the investigation could prejudice potential jurors. "Atrocities. The babies. That's what they want to seal." A deputy squeezed Dear's shoulder in an effort to quiet him.

King appeared to be trying to follow the same playbook he used in his defense of Colorado theater shooter James Holmes, whom he convinced a jury earlier this year to spare from execution on the grounds of his mental illness. But, as Dear was formally charged with 179 counts of first-degree murder, attempted murder and other crimes that could lead to the death penalty, he was having none of it.

"Do you know who this lawyer is?" Dear exclaimed of King. "He's the lawyer for the Batman shooter. Who drugged him all up. And that's what they want to do to me."

Holmes was on anti-psychotic medication this year during his trial for the 2012 shootings that killed 12 people and wounded 70. He was sentenced to life in prison.

"Seal the truth, huh? Kill the babies. That's what Planned Parenthood does," Dear yelled later. At another point, he snapped at King: "You're trying silence me." Then he said: "Let's let it all come out. Truth!"

King did not directly address the outbursts, though at one point during a break he leaned over to Dear and said: "I know what you're trying to do; it's not going to work." King raised doubts about whether Dear is competent to stand trial, saying defense attorneys wanted investigators to turn over evidence as soon as possible so they could assess the "depth of his mental illness."

Colorado Springs police have refused to discuss a potential motive in the Nov. 27 attack, which wounded nine and killed three. But even before Wednesday's startling outbursts, there was mounting evidence that Dear was deeply concerned about abortion.

He rambled to authorities about "no more baby parts" after his arrest. And a law enforcement official told The Associated Press this week that Dear asked at least one person in a nearby shopping center for directions to the clinic before opening fire. The official was not authorized to publicly discuss the investigation and spoke to The Associated Press on condition of anonymity.

On Wednesday, Dear interjected as Judge Gilbert A. Martinez discussed a pretrial publicity order, saying, "Could you add the babies that were supposed to be aborted that day? Could you add that to the list?"

At one point, Dear yelled simply, "Protect babies!"

Later, he accused his attorneys of being in "cahoots" with Planned Parenthood to "shut me up."

"I want the truth to come out. There's a lot more to this than for me to go silently to the grave," he shouted.

Dear has lived in remote locations without electricity or running water and was known to hold survivalist ideas.

One of his three ex-wives, Barbara Mescher Micheau of Moncks Corner, South Carolina, said he vandalized a South Carolina abortion clinic at least 20 years earlier, announcing to her that he had put glue in the locks of its doors, a common protest technique among activists trying to shut down abortion clinics.

Killed in the attack were Garrett Swasey, 44, a University of Colorado-Colorado Springs officer who rushed to the scene; Ke'Arre Stewart, 29, an Iraq war veteran who was accompanying someone at the clinic; and Jennifer Markovsky, 35, who also accompanied a friend at the clinic.

Five other officers were shot and wounded in the rampage.

Colorado Springs Mayor John Suthers said Monday that responding officers rescued 24 people from inside the clinic building and helped remove 300 people from surrounding businesses where they had been hiding while the shooting unfolded.

Martinez set the next hearing for Dear for Dec. 23. A first-degree murder conviction can lead to life in prison or the death penalty.

At the end of Wednesday's hearing, the judge looked at Dear and said, "Are you finished?"