By CNN Pentagon Producer Larry Shaughnessy

FORT MEADE, Maryland (CNN) - After years of pretrial delays and legal battles, testimony in the court-martial trial of Pfc. Bradley Manning is all but over but the delays and battles continue.

Last Monday, before presenting witnesses in the case, Manning's defense attorneys filed motions asking the military judge, Col. Denise Lind, to find him not guilty of four of the charges against him.



Among those four charges they want the judge to consider is the most serious charge against Manning, aiding the enemy. If he's found guilty of that charge, he faces a maximum penalty of life in prison.

Manning's attorneys maintain that the prosecutors in the case failed to show "that Pfc. Manning had 'actual knowledge' that by giving information to WikiLeaks, he was giving information to an enemy of the United States," according to the defense motion.

According to David Coombs, Manning's lead attorney, the prosecution contends "if you give information to any news organization that is going to publish it on the Internet, you are giving it to the enemy."

The defense presented evidence earlier in the case that they said showed there are intelligence gaps regarding whether terrorist groups such as al Qaeda go to WikiLeaks for information about the U.S. military.

"What better proof that Pfc. Manning didn't know if the enemy goes to WikiLeaks than the U.S. Army doesn't know if the enemy goes to WikiLeaks," Coombs said.

"Pfc. Manning had the ability to send the information directly to the enemy if he had wanted to, but he didn't. He wanted to spark debate," Coombs told the judge.

Prosecutors maintain that Manning based on his training and work as an intelligence analyst "should have known" that putting information on the internet was providing information to the enemy.

Most of the first couple of hours of Monday's court hearing were spent debating another defense motion regarding accusations that Manning loaded a computer program called WGet on his work computer in Iraq.

The government maintains that the program was not authorized and allowed him to quickly download huge caches of files that eventually ended up on WikiLeaks.

The defense pointed out that several witnesses testified that WGet was not specifically banned and that several other kinds of programs, such as music programs, were not authorized but were allowed by the chain of command.

Lind said she would rule on both issues after court resumes at 9:30 a.m. Thursday. But that won't be the end of everything.

The judge ruled late Monday that the prosecutors would be allowed to present four rebuttal witness in response to some defense testimony.