PHOTO: WJW
Now playing
01:45
Man accused of plotting attack at parade
PHOTO: WJW
Now playing
01:45
Man accused of plotting attack at parade
Armed police  operate in Saint-Denis, a northern suburb of Paris, Wednesday, Nov. 18, 2015. Police say two suspects in last week
Armed police operate in Saint-Denis, a northern suburb of Paris, Wednesday, Nov. 18, 2015. Police say two suspects in last week's Paris attacks, a man and a woman, have been killed in a police operation north of the capital. Two police officers have been injured in the standoff. Police have said the operation is targeting the suspected mastermind of last week's attacks, believed to be holed up in an apartment in Saint-Denis with several other heavily armed suspects. (AP Photo/Francois Mori)
PHOTO: Francois Mori/AP
Now playing
01:42
What to do in the event of a terror attack
psychology of terror sanjay gupta nws orig_00002811.jpg
psychology of terror sanjay gupta nws orig_00002811.jpg
PHOTO: ISIS
Now playing
01:25
The psychology of terror
LAS VEGAS, NV - OCTOBER 02:  An ambulance leaves the intersection of Las Vegas Boulevard and Tropicana Ave. after a mass shooting at a country music festival nearby on October 2, 2017 in Las Vegas, Nevada. A gunman has opened fire on a music festival in Las Vegas, leaving at least 20 people dead and more than 100 injured. Police have confirmed that one suspect has been shot. The investigation is ongoing. (Photo by Ethan Miller/Getty Images)
LAS VEGAS, NV - OCTOBER 02: An ambulance leaves the intersection of Las Vegas Boulevard and Tropicana Ave. after a mass shooting at a country music festival nearby on October 2, 2017 in Las Vegas, Nevada. A gunman has opened fire on a music festival in Las Vegas, leaving at least 20 people dead and more than 100 injured. Police have confirmed that one suspect has been shot. The investigation is ongoing. (Photo by Ethan Miller/Getty Images)
PHOTO: Ethan Miller/Getty Images
Now playing
02:46
Is it an act of violence or terror?
australia terror plot cabrera kayyem segment_00002218.jpg
australia terror plot cabrera kayyem segment_00002218.jpg
PHOTO: Seven News
Now playing
01:39
Four arrested in alleged airplane terror plot
Washington, UNITED STATES:  The terrorist threat advisory is seen 10 August, 2006 at Ronald Reagan National Airport, in Washington, DC. After Britain said 10 August it had thwarted a plot to wreak "mass murder" by the simultaneous mid-air bombings of planes to the United States, the US raised the threat level to "severe" or "Red" for all commercial flights flying from Britain to the United States, and "high" or "Orange" for all commercial aviation operating in the United States, including international flights.  AFP PHOTO / TIM SLOAN  (Photo credit should read TIM SLOAN/AFP/Getty Images)
Washington, UNITED STATES: The terrorist threat advisory is seen 10 August, 2006 at Ronald Reagan National Airport, in Washington, DC. After Britain said 10 August it had thwarted a plot to wreak "mass murder" by the simultaneous mid-air bombings of planes to the United States, the US raised the threat level to "severe" or "Red" for all commercial flights flying from Britain to the United States, and "high" or "Orange" for all commercial aviation operating in the United States, including international flights. AFP PHOTO / TIM SLOAN (Photo credit should read TIM SLOAN/AFP/Getty Images)
PHOTO: TIM SLOAN/AFP/Getty Images
Now playing
01:11
What FBI director wants Americans to know about terror
Investigators inspect a truck following a shooting incident in New York on October 31, 2017. 
Several people were killed and numerous others injured in New York on Tuesday when a suspect plowed a vehicle into a bike and pedestrian path in Lower Manhattan, and struck another vehicle on Halloween, police said. A suspect exited the vehicle holding up fake guns, before being shot by police and taken into custody, officers said. The motive was not immediately apparent.

 / AFP PHOTO / Don EMMERT        (Photo credit should read DON EMMERT/AFP/Getty Images)
Investigators inspect a truck following a shooting incident in New York on October 31, 2017. Several people were killed and numerous others injured in New York on Tuesday when a suspect plowed a vehicle into a bike and pedestrian path in Lower Manhattan, and struck another vehicle on Halloween, police said. A suspect exited the vehicle holding up fake guns, before being shot by police and taken into custody, officers said. The motive was not immediately apparent. / AFP PHOTO / Don EMMERT (Photo credit should read DON EMMERT/AFP/Getty Images)
PHOTO: DON EMMERT/AFP/Getty Images
Now playing
01:43
The vulnerability of 'soft targets' to terror
The operations center of the Terrorist Screening Center
The operations center of the Terrorist Screening Center
PHOTO: Terrorist Screening Center
Now playing
05:20
An exclusive look inside the Terrorist Screening Center
From the left, British businessman Chris Norman,  Anthony Sadler, a senior at Sacramento University in California, French President Francois Hollande, U.S. Airman Spencer Stone, and Alek Skarlatos a U.S. National Guardsman from Roseburg, Oregon pose at the Elysee Palace, Monday Aug.24, 2015 in Paris, France. Hollande  pinned the Legion of Honor medal on U.S. Airman Spencer Stone, National Guardsman Alek Skarlatos, and their years-long friend Anthony Sadler, who subdued the gunman as he moved through the train with an assault rifle strapped to his bare chest. The British businessman, Chris Norman, also jumped into the fray. (AP Photo/Michel Euler, Pool)
From the left, British businessman Chris Norman, Anthony Sadler, a senior at Sacramento University in California, French President Francois Hollande, U.S. Airman Spencer Stone, and Alek Skarlatos a U.S. National Guardsman from Roseburg, Oregon pose at the Elysee Palace, Monday Aug.24, 2015 in Paris, France. Hollande pinned the Legion of Honor medal on U.S. Airman Spencer Stone, National Guardsman Alek Skarlatos, and their years-long friend Anthony Sadler, who subdued the gunman as he moved through the train with an assault rifle strapped to his bare chest. The British businessman, Chris Norman, also jumped into the fray. (AP Photo/Michel Euler, Pool)
PHOTO: Michel Euler/AP
Now playing
02:08
Train heroes honored for thwarting attack
PHOTO: shutterstock
Now playing
01:56
Is this terror or a mass killing?
terror attack vulnerabilities brown dnt tsr_00013715.jpg
terror attack vulnerabilities brown dnt tsr_00013715.jpg
Now playing
01:41
How vulnerable are citizens to terror attacks?
tsr dnt scuitto ISIS plots thwarted_00005604.jpg
tsr dnt scuitto ISIS plots thwarted_00005604.jpg
Now playing
01:41
FBI: Several July 4th terror attacks thwarted
isis in america north carolina teen arrested sciutto dnt tsr _00001312.jpg
isis in america north carolina teen arrested sciutto dnt tsr _00001312.jpg
Now playing
01:43
American teen arrested in alleged ISIS plot
PHOTO: WHDH
Now playing
02:12
New details released in Boston terror plot
(CNN) —  

A Cleveland man was arrested after allegedly making plans for a terrorist attack on the city’s downtown July 4th parade with an undercover agent, authorities said Monday morning.

Demetrius Nathaniel Pitts, who used the name Abdur Raheem Rafeeq on Facebook, was taken into custody Sunday and has been charged with attempting to provide material support to a foreign terrorist organization, Stephen Anthony of the FBI said in a news conference.

Pitts came under FBI surveillance in 2017 after he went on social media to express a hatred of the United States and a desire to join the terrorist group al Qaeda, Anthony said. Pitts is a US citizen and was radicalized in the United States, Anthony said. Court records say he’s 48.

Demetrius Nathaniel Pitt
Demetrius Nathaniel Pitt
PHOTO: WJW/FBI

Pitts met an undercover agent in June, said an affidavit provided by the FBI, and the two began discussing his desire to join al Qaeda and potential acts of terror.

“What would hit them in the core?” Pitts asked in a secretly recorded conversation on June 22, according to the affidavit. “Blow up in the, have a bomb to blow up at the 4th of July parade.”

Pitts told the agent he would conduct surveillance in downtown Cleveland and later gave the agent a phone with photos and videos of potential bomb targets, such as Voinovich Park and the US Coast Guard Station, according to the affidavit.

At first the agent and Pitts talked about placing bombs inside small remote-controlled cars, but in a July 27 conversation Pitts said they should also detonate an explosives-laden vehicle, the affidavit said.

“Yeah, like a full van,” Pitts said, according to the affidavit. “Why – why play wit’ ‘em.”

Pitts told the agent he didn’t want to be involved in carrying out the attack, just doing reconnaissance, the affidavit said.

“The only thing I’m gonna be responsible for is going to look at the spot, to scope out the scenery,” he said, according to the affidavit.

Later in the day on June 27, Pitts texted the agent and said the attack should be delayed because of tight security in downtown Cleveland.

“Cancel the party for now,” his text said, according to the affidavit.

But the agent kept talking to him and on June 30 told Pitts the higher-ups in al Qaeda were pleased with his plans and that the bombing in Cleveland was “a go,” the affidavit said.

The agent met with Pitts on July 1 to discuss Pitts’ plan for a bombing in Philadelphia, the affidavit said. When reminded that people would die in a bombing, Pitts said, “I don’t care,” the affidavit said.

The agent also showed Pitts the remote controlled cars and Pitts suggested they be given to the children of military personnel so they could unwittingly detonate the bombs at the parade or take them home and blow up their own houses, the affidavit said.

“The meeting ended with the arrest of Pitts,” the affidavit said.

The FBI said Pitts also gave them two videos recorded on a phone in which he proclaimed loyalty to al Qaeda, the affidavit said.

Pitts made his initial appearance in federal court Monday afternoon before Magistrate Judge David A. Ruiz. Pitts was advised of the charges and received counsel, according to a clerk in Ruiz’s chambers.

Pitts is scheduled for a preliminary hearing and a detention hearing at 10 a.m. July 5.

Federal public defender Timothy Ivey represented Pitts in court today. CNN has reached out to him for comment.

The maximum sentence if convicted of the charge is 20 years, the affidavit said.

Justin E. Herdman, the US attorney for the northern district of Ohio, said Pitts had tried to strike fear into Americans. He urged people “to continue to have your barbecues and continue to go see fireworks.”