PHOTO: Mallory Simon/CNN
Now playing
02:18
What knife-wielding man said to attack survivor
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill.  (Photo by Win McNamee/Getty Images)
PHOTO: Win McNamee/Getty Images
WASHINGTON, DC - MARCH 05: Sen. John Cornyn (R) (R-TX) talks with Sen. Joe Manchin (D-WV) while walking to the U.S. Senate chamber for a vote March 05, 2021 in Washington, DC. The Senate continues to debate the latest COVID-19 relief bill. (Photo by Win McNamee/Getty Images)
Now playing
02:54
Axelrod breaks down Manchin's surprising move
sinema
PHOTO: CNN
sinema
Now playing
01:50
Senator's move has many on the internet outraged
PHOTO: FBI
Now playing
02:58
Trump State Department official charged in Capitol riot
John King Magic Wall 0305
PHOTO: CNN
John King Magic Wall 0305
Now playing
02:17
President Biden sending a team to the US-Mexico border
PHOTO: CNN
Now playing
02:53
Here's how Canadian schools have stayed open
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
PHOTO: JPL-Caltech/NASA
This image was taken during the first drive of NASA's Perseverance rover on Mars on March 4, 2021. The team has spent the weeks since landing checking out the rover to prepare for surface operations.
Now playing
02:17
NASA releases stunning new images from Mars
Rep john garamendi 0305
PHOTO: CNN
Rep john garamendi 0305
Now playing
02:33
Rep. Garamendi: Any lawmaker involved in Capitol riots ought to be thrown out of Congress
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: Brendan Smialowski/AFP/Getty Images
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
03:18
Rep. Sarbanes: Failure to pass HR 1 'would split our democracy in two'
Senior Advisor to the President Jared Kushner  attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
Senior Advisor to the President Jared Kushner attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
02:50
Jared Kushner disappears from Trump's inner circle
PHOTO: CBS Evening News with Norah O'Donnell
Now playing
02:14
Governor Cuomo accuser Charlotte Bennett speaks out
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington.  Powell told Congress on Wednesday, Feb. 24, 2021,  that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment  and warned that many people in the hardest hit industries will likely need to find different jobs.  (AP Photo/Susan Walsh, Pool, File)
PHOTO: Susan Walsh/AP
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington. Powell told Congress on Wednesday, Feb. 24, 2021, that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment and warned that many people in the hardest hit industries will likely need to find different jobs. (AP Photo/Susan Walsh, Pool, File)
Now playing
02:18
Jerome Powell: US economy 'some time' away from full recovery
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
PHOTO: Patrick T. Fallon/AFP
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
Now playing
02:39
States rolling back Covid-19 safety measures as cases continue to rise
PHOTO: CBS' 60 Minutes+/Getty Images
Now playing
01:45
'QAnon Shaman' says he has one regret about January 6
psaki
PHOTO: CNN
psaki
Now playing
00:56
Psaki fires back at Trump testing czar over vaccine claims
Now playing
02:30
Alabama governor explains why she's ending mask mandate
PHOTO: CNN
Now playing
01:35
See what security looks like outside US Capitol

Editor’s Note: The following story contains graphic images that may be disturbing to some readers.

(CNN) —  

The man accused of using a machete to wound five people at a Hanukkah celebration now faces hate crime charges after authorities discovered anti-Semitic journal entries in his home.

Grafton Thomas had already pleaded not guilty to five counts of attempted murder after the Saturday night attack in Monsey, New York.

But on Monday, federal authorities also charged Thomas with obstruction of free exercise of religious beliefs involving an attempt to kill. He appeared in federal court Monday afternoon and a judge ordered him to be detained.

In a criminal complaint, FBI Special Agent Julie S. Brown said investigators found journal entries in Thomas’ home that “express anti-Semitic sentiments.”

One entry said “Hebrew Israelites” took from the “powerful ppl (ebinoid Israelites)” and questioned “why ppl mourned for anti-Semitism when there is Semitic genocide.”

The criminal complaint said “ebinoid Israelites” appears to be a reference to the “Black Hebrew Israelite” movement.

The journal also referred to “Adolf Hitler” and “Nazi Culture” on the same page as drawings of a Star of David and a Swastika, according to the complaint.

The internet search history from a cell phone found in Thomas’ car included searches such as “Why did Hitler hate the Jews” and “German Jewish Temples near me.”

The searches also included the phrase “Prominent companies founded by Jews in America.”

On Saturday – the day of the attack – the search history showed an article called “New York City Increases Police Presence in Jewish Neighborhoods After Possible Anti-Semitic Attacks. Here’s What To Know.”

Saturday’s was the latest in a long series of attacks against Jewish New Yorkers. Recent violence has prompted new hate crime education in some schools and heightened security in Jewish neighborhoods in Brooklyn and across the state.

Suspect’s family: He has no history of anti-Semitism

In a Monday court hearing in White Plains, New York, the federal public defender for Thomas told the judge that Thomas was taking medications and has “issues with bipolar and schizophrenia.”

Thomas’ relatives said he has a “long history of mental illness and hospitalizations,” according to a statement released by Thomas’ attorney Michael H. Sussman.

“He has no known history of anti-Semitism and was raised in a home which embraced and respected all religions and races,” the statement said.

In a news conference Monday, Sussman said papers from his client show the “ramblings of a disturbed individual.”

“There is no suggestion any of those ramblings and pages of writing of an anti-Semitic motive, of any anti-Semitism,” the attorney said.

Sussman said his client has been treated in mental health facilities.

“I won’t right now comment on the nature and quality of that treatment,” he said.

“But it may be that he was noncompliant with medications … prescribed to deal with his severe depression and other manifestations of psychosis.”

One witness hit the attacker in the face with a table

Thomas entered the home and declared to the dozens of people there, “no one is leaving,” before attacking the people with an 18-inch machete, federal prosecutors said in a news release.

Witnesses at the scene said the assailant wielded a huge knife – one person said it was like “a broomstick” – and stabbed people indiscriminately.

Josef Gluck initially ran away from the danger, then came back to help others. He said the rabbi’s home was filled with dozens of people, ranging from 2 months old to 80 years old.

Realizing the attacker’s rampage wasn’t over, Gluck said he grabbed a coffee table, went after the assailant and “hit him in his face.”

Eventually, the assailant decided to leave. Gluck noted the suspect’s license plate number and reported it to authorities, who found Thomas about an hour later in Harlem.

New York City police officers who responded to the scene saw what appeared to be blood on Thomas’ hands and clothing, and the smell of bleach in his vehicle, federal prosecutors said. Authorities recovered a machete from Thomas’ car that appeared to have traces of dried blood, federal prosecutors said.

Thomas pleaded not guilty to five counts of attempted murder and one count of first-degree burglary. His bail was set at $5 million.

If released on bond, Thomas must forfeit any firearms he owns and stay away from the victims and the rabbi’s home, a judge ruled.

One of the victims was critically injured

One photo from the scene shows overturned chairs and a cane left behind. Another photo shows black clothing on the floor and a medical kit.
PHOTO: obtained by CNN
One photo from the scene shows overturned chairs and a cane left behind. Another photo shows black clothing on the floor and a medical kit.

The five people injured inside Rabbi Chaim Rottenberg’s home were all Hasidic Jews, the Orthodox Jewish Public Affairs Council for the Hudson Valley Region said.

One of them was the rabbi’s son, who is recovering.

According to the criminal complaint, one victim was in critical condition with a skull fracture.

Two victims treated at Good Samaritan Hospital have been released, hospital spokeswoman Helene Guss said.

The condition of the fifth victim was not immediately clear.

Rockland County, where the attack took place, has the largest Jewish population per capita of any US county, according to New York. Almost one-third of its population is Jewish.

Rockland County elected leader Ed Day announced a partnership Monday with Brosnan Risk consultants to provide armed security to synagogues that say they feel unsafe.

The armed security will include off-duty or retired law enforcement agents.

Brosnan Risk CEO Patrick Brosnan, who said he lives close to the area, said his company is “volunteering our services around the clock.”

Day said he welcomed the public-private collaboration in trying to stop future attacks. “We are fighting back as a community,” the county leader said.

“Regardless of what the motivations are, regardless of what the investigations reveal, the fact of the matter is we cannot sit around and do nothing.”

CNN’s Kara Scannell, Kristina Sgueglia, Julian Cummings, Taylor Romine, Mark Morales and Ben Parsons contributed to this report.