(CNN) -- A Tennessee man -- accused in a fatal attack at a military recruiting center in Arkansas in June -- wants to plead guilty and claims to have ties to al Qaeda in Yemen in a letter he wrote to the judge presiding over his case.



In the handwritten letter dated January 12, Abdul Hakim Muhammad said he did not want a trial and insisted the shooting was "justified" under jihad.



"This was a jihadi attack on infidel forces that didn't go as plan," he wrote. "Flat out truth."



It was not immediately clear whether the judge, Herbert Wright Jr., would accept the plea.



Muhammad's lawyer, Claiborne Ferguson, called the letter "highly inappropriate."



"If my client had the intention of pleading guilty, it is misguided and misinformed as to Arkansas law," Ferguson said from Memphis, Tennessee, on Thursday. "He can't plead guilty to a capital crime."



That response is why Muhammad said he decided to bypass his lawyer with a letter to Wright. He wrote that he believed it was "a lie" that he could not plead guilty.



Muhammad, formerly known as Carlos Bledsoe, is charged with killing Pvt. William Long, 23, and wounding Pvt. Quinton Ezeagwula, 18. The attack happened on June 1 at a recruiting center in Little Rock, Arkansas.



In June, Muhammad pleaded not guilty to one count of capital murder and 16 counts of engaging in a terrorist act.



Before pleading not guilty, Muhammad waived his Miranda rights and gave a video statement indicating political and religious motives, authorities said.



He "stated that he was a practicing Muslim ... that he was mad at the U.S. military because of what they had done to Muslims in the past," Detective Tommy Hudson wrote in a police report at the time.



Muhammad told police "he fired several rounds at the soldiers with the intent of killing them," according to Hudson's report.



In his letter to the judge, Muhammad claimed he had links to al Qaeda in the Arabian Peninsula in Yemen, a group that has claimed responsibility for the attempting bombing of a U.S.-bound airliner on Christmas Day.



"My lawyer has no defense," he wrote. "I wasn't insane or post traumatic nor was I forced to do this act. Which I believe and it is justified according to Islamic laws and the Islamic religion jihad -- to fight those who wage war on Islam and Muslims."



CNN's Charley Keyes contributed to this report.
What did the attourney say? who plead guilty What was the man suspected of? who did he kill who has ties to al qaeda What is Muhammad accused of? What does Abdul Hakim Muhammad claim?
"He can't plead guilty to a capital crime." Abdul Hakim Muhammad fatal attack at a military recruiting center in Arkansas in Pvt. William Long, Abdul Hakim Muhammad killing Pvt. William Long, 23, and wounding Pvt. Quinton Ezeagwula, 18. to have ties to al Qaeda in Yemen
question: What did the attourney say?, answer: "He can't plead guilty to a capital crime." | question: who plead guilty, answer: Abdul Hakim Muhammad | question: What was the man suspected of?, answer: fatal attack at a military recruiting center in Arkansas in | question: who did he kill, answer: Pvt. William Long, | question: who has ties to al qaeda, answer: Abdul Hakim Muhammad | question: What is Muhammad accused of?, answer: killing Pvt. William Long, 23, and wounding Pvt. Quinton Ezeagwula, 18. | question: What does Abdul Hakim Muhammad claim?, answer: to have ties to al Qaeda in Yemen