(CNN) -- A Moroccan native living in Kansas City, Missouri, pleaded guilty in federal court Wednesday to providing funds to the al Qaeda terrorist organization.
Khalid Ouazzani, 32, admitted providing more than $23,000 to al Qaeda, to which he had pledged an oath of allegiance in 2008, federal officials said.
Ouazzani, a naturalized U.S. citizen, also pleaded guilty to bank fraud and money laundering in his financial support to al Qaeda.
Ouazzani was arrested "early this year," but his arrest and detention were kept secret until Wednesday, officials said.
He was secretly indicted by a federal grand jury in Kansas City on February 3, according to Beth Phillips, the U.S. attorney in Kansas City.
The Justice Department said Ouazzani faces up to 65 years in prison without parole and a fine of up to $1 million.
A law firm representing Ouazzani said the guilty plea represents an acknowledgement of "the wrongfulness of his acts."
"He deeply regrets what he has done, and is taking steps to atone, to the extent he can, for his crimes," said a statement from his defense counsel at Bath & Edmonds in nearby Overland Park, Kansas.