NEW YORK - Dr Aafia Siddiqui, a US-trained Pakistani neuroscientist accused of trying to kill American soldiers and FBI agents in Afghanistan last year, is competent to stand trial, a federal judge ruled Wednesday as he rejected the evaluation of a defence expert who concluded she was mentally ill. US District Judge Richard Berman based his 36-page ruling largely on the findings of three other experts who concluded that the woman was faking mental illness to avoid trial or improve the chance she would be returned to Pakistan. Her trial is set for Oct. 19. 'The Court finds that Dr Siddiqui is competent to stand trial by a preponderance of the evidence, judge Berman in New York City Federal court said in a written order. Siddiqui, 37, was captured a year ago in Afghanistan, and was brought to New York in early August to face a seven-count indictment. The most serious charge carries a mandatory minimum sentence of 30 years in prison and a maximum of life behind bars. Over the last year, psychiatric experts who have evaluated Ms. Siddiqui have said she reported dramatic hallucinations and delusions involving flying infants, dark angels, a dog in her cell and children visiting her. One expert noted that the hallucinatory experiences ended abruptly after a psychologist found her incompetent for trial last year after a one-month evaluation. The psychologist later changed her opinion after a six-month study and a review of thousands of documents. 'This is an instance where a defendant may have some mental health issues but may nevertheless be competent to stand trial, Berman wrote. Mental health experts testified earlier this month in a hearing that was interrupted several times when Ms. Siddiqui spoke out, saying she did not kill anybody. 'I did not shoot anybody, and I did not fire at anybody, she told the court while interrupting the proceedings. At one point during a break, she looked towards prosecutors and said, 'I want to make peace with the United States of America. Im not an enemy. I never was. The judge noted in his ruling Wednesday that Ms. Siddiquis polite and appropriate demeanor during the first two hours of the hearing changed abruptly after a prosecutor asked a witness if he had seen any outbursts from Ms. Siddiqui. 'Immediately thereupon, Dr. Siddiqui became much more outspoken and difficult in the courtroom, Berman said. The judge noted that Ms. Siddiqui appeared appropriately groomed and in good physical condition at her hearing, entering and exiting the courtroom at an appropriate pace and without assistance. Her lawyer, Dawn Cardi, made no immediate comments on Judge Bermans verdict. Yusill Scribner, a spokeswoman for prosecutors, declined to comment. Siddiqui studied at MIT and Brandeis University before she returned to Pakistan in 2003. Siddiqui was taken into custody in Afghanistan last summer after she was found loitering with what US athorities said were suspicious items in her handbag. These included handwritten notes that referred to a 'mass casualty attack, and listed landmarks like the Empire State Building and the Statue of Liberty, according to a federal indictment. The indictment charges that while she was being held, she picked up an unsecured rifle, and fired at least two shots toward a member of an American team of FBI agents and military personnel who were about to question her. No one was hit. She was charged with attempted murder and other charges, and has pleaded not guilty. Lst week, Pakistans Ambassador to the US Hussain Haqqani spoke by telephone to Dr Siddiqui, and discussed with her the govts efforts to secure her release and repatriation to homeland. Haqqani enquired about her health and assured of the efforts the govt of Pakistan is making for her release and legal details in this respect.