In this grab made from a video obtained on the Twitter account of Victor Jay (@victorj_fr), police and emergency vehicles block a crossroad on May 29, 2018 in the eastern Belgian city of Liege, after a gunman shot dead three people, two of them policemen, before being killed by elite officers. / AFP PHOTO / TWITTER / Victor JAY / RESTRICTED TO EDITORIAL USE  MANDATORY CREDIT «  AFP PHOTO / TWITTER / VICTOR JAY » - NO MARKETING NO ADVERTISING CAMPAIGNS  DISTRIBUTED AS A SERVICE TO CLIENTSVICTOR JAY/AFP/Getty Images
PHOTO: VICTOR JAY/AFP/Getty Images
In this grab made from a video obtained on the Twitter account of Victor Jay (@victorj_fr), police and emergency vehicles block a crossroad on May 29, 2018 in the eastern Belgian city of Liege, after a gunman shot dead three people, two of them policemen, before being killed by elite officers. / AFP PHOTO / TWITTER / Victor JAY / RESTRICTED TO EDITORIAL USE MANDATORY CREDIT « AFP PHOTO / TWITTER / VICTOR JAY » - NO MARKETING NO ADVERTISING CAMPAIGNS DISTRIBUTED AS A SERVICE TO CLIENTSVICTOR JAY/AFP/Getty Images
Now playing
00:54
Gunman kills three in Belgian city
A former US marine allegedly planned to carry out an attack on Pier 39 in San Francisco over the holidays, according to a criminal complaint filed in court in California today.   
 
Everitt Aaron Jameson had supported ISIS on social media and discussed his plans with undercover FBI employees to conduct a San Bernardino or New York style attack, using weapons and explosives, in San Francisco.   A search warrant was executed at his home on Wednesday and authorities found his will, and a letter saying ìlong live Abu Bakr al-Baghdadi,î saying ìyou all have brought this upon yourselves,î and charging ìyouíve allowed Donald Trump to give Al Quds away to the Jews,î in a reference to Jerusalem.   He goes on to say ìWe have penetrated and infiltrated your disgusting country.î   
 
The FBI documents reveal that firearms, empty magazines, ammunition, and fireworks were also found at his Modesto home. 
 
The complaint also says Jameson was discharged from the Marine Corps for ìfraudulent enlistmentî for failing to disclose ìa latent asthma history.î
PHOTO: Everitt Aaron Jameson/Facebook
A former US marine allegedly planned to carry out an attack on Pier 39 in San Francisco over the holidays, according to a criminal complaint filed in court in California today. Everitt Aaron Jameson had supported ISIS on social media and discussed his plans with undercover FBI employees to conduct a San Bernardino or New York style attack, using weapons and explosives, in San Francisco. A search warrant was executed at his home on Wednesday and authorities found his will, and a letter saying ìlong live Abu Bakr al-Baghdadi,î saying ìyou all have brought this upon yourselves,î and charging ìyouíve allowed Donald Trump to give Al Quds away to the Jews,î in a reference to Jerusalem. He goes on to say ìWe have penetrated and infiltrated your disgusting country.î The FBI documents reveal that firearms, empty magazines, ammunition, and fireworks were also found at his Modesto home. The complaint also says Jameson was discharged from the Marine Corps for ìfraudulent enlistmentî for failing to disclose ìa latent asthma history.î
Now playing
01:27
FBI: Former Marine was plotting terror attack
PHOTO: Reuters
Now playing
02:37
How lone wolves get radicalized
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
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)
Now playing
01:43
The vulnerability of 'soft targets' to 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)
PHOTO: 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)
Now playing
02:46
Is it an act of violence or terror?
Firefighters arrived on Eighth Avenue near the scene of a reported explosion on Monday morning in Manhattan, New York, December 11, 2017. (David Scull/The New York Times)
PHOTO: David Scull/The New York Times/redux pictures
Firefighters arrived on Eighth Avenue near the scene of a reported explosion on Monday morning in Manhattan, New York, December 11, 2017. (David Scull/The New York Times)
Now playing
01:41
Latest on NYC terrorism investigation
Italian police and forensics experts gather around the body of suspected Berlin truck attacker Anis Amri after he was shot dead in Milan on December 23, 2016.  
The Tunisian man suspected of carrying out the deadly Berlin truck attack at the Christmas market was shot dead by police in Milan on December 23, Italy
PHOTO: DANIELE BENNATI/AFP/AFP/Getty Images
Italian police and forensics experts gather around the body of suspected Berlin truck attacker Anis Amri after he was shot dead in Milan on December 23, 2016. The Tunisian man suspected of carrying out the deadly Berlin truck attack at the Christmas market was shot dead by police in Milan on December 23, Italy's interior minister Marco Minniti said. The minister told a press conference in Rome that Anis Amri had been fatally shot after firing at two police officers who had stopped his car for a routine identity check around 3:00 am (0200 GMT). Identity checks had established "without a shadow of doubt" that the dead man was Amri, the minister said. / AFP / DANIELE BENNATI (Photo credit should read DANIELE BENNATI/AFP/Getty Images)
Now playing
01:10
How the Berlin attack unfolded
Americans killed in Nice
Brodie and Sean Copeland, the Americans killed in Nice, were in Nice to celebrate a birthday with the rest of their family, Sean
PHOTO: From Twitter
Americans killed in Nice Brodie and Sean Copeland, the Americans killed in Nice, were in Nice to celebrate a birthday with the rest of their family, Sean's niece Haley Copeland posted to social media. Another niece, Heather Copeland, asked for prayers on social media for her family. Approved to report by Row's Anissa Wells. Heather Copeland tweeted: "I don't even know how to put this in words. Today was a very tradgic day for my family. My Uncle Sean and my cousin Brodie Copeland were killed today in a teriorist attack in Nice France while they were on vacation. A huge box truck ran over and killed 80 plus people and injured over 100. Please keep my family and all the other family's affected by the tragic event that occurred tonight in your prayers. #PrayForNice #PrayersForFrance" Haley Copeland tweeted her Facebook post: "By now many of you have heard about the 80 people that have died in nice, France today from a terrorist attack driving through a parade. 2 of those 80 people were American and those 2 people happen to be Uncle Sean and 11 year old cousin Brodie. They were there on vacation with my two other cousins and aunt celebrating a birthday. This is an extremely difficult time for my family and anyone who knows Sean and Brodie Copeland. Losing a love one is hard no matter the circumstances but losing a loved one in such a tragic and unexpected way in unbearable. Prayers are much appreciated. #CopelandFamily #nice"
Now playing
01:12
Texas father and son killed in Nice, France
Passengers walk in Terminal 3 at O
PHOTO: Nam Y. Huh/AP
Passengers walk in Terminal 3 at O'Hare airport in Chicago, Tuesday, Nov. 21, 2017. Officials with the Illinois Department of Transportation and Illinois State Police say the ramped up enforcement efforts involving more than 150 law enforcement agencies will end early Monday. (AP Photo/Nam Y. Huh)
Now playing
02:15
US intelligence fears holiday terror attack
PHOTO: Family Photo/Facebook/AP
Now playing
02:16
Details of NYC terror attack emerge
US President Donald Trump (R) and Russia
PHOTO: JORGE SILVA/AFP/Getty Images
US President Donald Trump (R) and Russia's President Vladimir Putin talk as they make their way to take the "family photo" during the Asia-Pacific Economic Cooperation (APEC) leaders' summit in the central Vietnamese city of Danang on November 11, 2017. World leaders and senior business figures are gathering in the Vietnamese city of Danang this week for the annual 21-member APEC summit. / AFP PHOTO / POOL / JORGE SILVA (Photo credit should read JORGE SILVA/AFP/Getty Images)
Now playing
02:36
Putin thanks Trump for tip on terror attack
Nidhi Chaphekar, right, a 40-year-old Jet Airways flight attendant from Mumbai, and another unidentified woman after being wounded in Brussels Airport in Brussels, Belgium, after explosions were heard. The Indian flight attendant who was injured in the Brussels airport blasts is in stable condition and recovering, her airline Jet Airways said Friday, March 25, 2016. Chaphekar suffered burns and fractured her foot in the explosions on Tuesday. She has been treated at a hospital near Brussels.
PHOTO: Ketevan Kardava/AP
Nidhi Chaphekar, right, a 40-year-old Jet Airways flight attendant from Mumbai, and another unidentified woman after being wounded in Brussels Airport in Brussels, Belgium, after explosions were heard. The Indian flight attendant who was injured in the Brussels airport blasts is in stable condition and recovering, her airline Jet Airways said Friday, March 25, 2016. Chaphekar suffered burns and fractured her foot in the explosions on Tuesday. She has been treated at a hospital near Brussels.
Now playing
01:45
Video timeline: They saw the Brussels attacks
Mexican police agents patrol near a nightclub in Playa del Carmen, Quintana Ro state, Mexico where 5 people were killed, three of them foreigners, during a music festival on January 16, 2017.
A shooting erupted at an electronic music festival in the Mexican resort of Playa del Carmen early Monday, leaving at least five people dead and sparking a stampede, the mayor said. Fifteen people were injured, some in the stampede, after at least one shooter opened fire before dawn at the Blue Parrot nightclub during the BPM festival.


 / AFP PHOTO / STRSTR/AFP/Getty Images
PHOTO: AFP/Getty Images
Mexican police agents patrol near a nightclub in Playa del Carmen, Quintana Ro state, Mexico where 5 people were killed, three of them foreigners, during a music festival on January 16, 2017. A shooting erupted at an electronic music festival in the Mexican resort of Playa del Carmen early Monday, leaving at least five people dead and sparking a stampede, the mayor said. Fifteen people were injured, some in the stampede, after at least one shooter opened fire before dawn at the Blue Parrot nightclub during the BPM festival. / AFP PHOTO / STRSTR/AFP/Getty Images
Now playing
02:18
What we know about Mexico club shooting
(CNN) —  

Belgian authorities are investigating the killing of two policewomen and a passerby in the eastern city of Liege on Tuesday as a terror attack, the country’s prosecutor said.

Belgian media, including CNN affiliate RTBF, are naming the gunman as Benjamin Herman. A spokesperson for the Brussels prosecutor told CNN the attacker, who was shot dead by police, was 31 years old and had the initials B.H. but declined to provide the full name.

RTBF reported that Herman was let out of prison on temporary release on Monday. He had been serving time on drug offenses. It said he may have been radicalized while in jail.

The incident occurred around 10:30 a.m., when the assailant stabbed two policewomen from behind before stealing their service weapons and using them on the officers, Liege Prosecutor Philippe Dulieu said at a news conference on Tuesday.

After killing the two officers, the attacker continued walking through the street and opened fire on a parked vehicle, fatally wounding the driver inside, Dulieu said.

According to the prosecutor, the suspect then took refuge in a local high school, where he held a woman hostage. When police intervened, the man opened fire, injuring several other officers, before he was shot dead.

“It is clear that the objective of the assassin was to target the police,” the head of Liege Police, Christian Beaupere, said later Tuesday. Beaupere said he wanted to reassure parents that the gunman did not plan to attack a school. “His objective was not to kill in a school but to harm the police, the institutions and the state of Belgium.”

He refused to comment further on the investigation, saying the case is now with the Belgian prosecutor’s office.

It is not yet clear precisely what the attacker’s motive may have been, a spokesperson from the Liege prosecutor’s office told CNN earlier.

Belgian Prime Minister Charles Michel said he and the government send their thoughts to the victims and their families.

The Belgian Royal Palace also tweeted its sympathies after the shooting. “Our thoughts are with the victims of this horrible act. Courage to their loved ones,” the tweet read.

Michel and King Philippe of Belgium arrived in Liege later Tuesday.

Belgian Interior Minister Jan Jambon said on Twitter that the country’s crisis center had been monitoring the situation. The crisis center said the students in the school were safe and that none had been injured.

A police officer speaks with parents of children at a nearby high school.
PHOTO: JOHN THYS/AFP/Getty Images
A police officer speaks with parents of children at a nearby high school.

Liege resident Didier Deflem filmed a video allegedly showing special intervention police units shooting at the Liege attacker in front of the Waha high school.

Deflem said: “Police made us enter the building to protect us. The PAB (Peloton anti-banditisme, a special intervention unit of the city of Liege) intervened. The man wanted to run out and he was shot down. That’s all I saw. We’re still in shock.”

Pierre Etienne Dit Pave, who teaches French language classes nearby,said he was first alerted to the attack by a “commotion in the street” and went out to investigate.

“At one point a policeman told me to go inside. I went back to the classroom and locked the door for a while,” he said. “We heard a lot of shots. We didn’t see anything because we were locked in the room. We were waiting for police to give us the clearing.”

In this grab made from a video obtained on the Twitter account of Victor Jay (@victorj_fr), police and emergency vehicles block a nearby crossroads.
PHOTO: VICTOR JAY/AFP/Getty Images
In this grab made from a video obtained on the Twitter account of Victor Jay (@victorj_fr), police and emergency vehicles block a nearby crossroads.

Liege is Belgium’s third-largest city, after Brussels and Antwerp, according to the national tourist office. For centuries, it has been an important cultural and industrial center for the country.

In 2011, Liege was the scene of a grenade and gun attack that left at least five dead and injured more than 100.

This story has been updated to correct the gender of the police officers who were killed.

CNN’s Judith Vonberg, Sebastian Shukla and Lindsay Isaac contributed to this report.