A father and son from Toronto accused of planning a “serious violent attack” in the city for ISIS appeared in court Thursday.

Mostafa Eldidi, 26, and his father, Ahmed Fouad Mostafa Eldidi, 62, are facing six terror-related charges in connection with the alleged plot.

The suspects made their court appearance virtually and both were remanded into custody until their next court date on Aug. 7.

The RCMP, which announced the charges against the two men on Wednesday, said an Integrated National Security Enforcement Team (INSET) became aware of the threat in early July.

The pair was arrested by an emergency response team at a hotel room in Richmond Hill on July 28 after the men allegedly acquired an axe and a machete.

Prosecutors allege in court documents that the father and son knowingly facilitated a terrorist activity and were knowingly helping the Islamic State enhance its ability to carry out terrorist activity.

The documents also allege the two were conspiring to commit murder for the benefit of, at the direction of or in association with the Islamic State.

Ahmed Fouad Mostafa Eldidi is separately charged with committing an aggravated assault outside of Canada for the benefit of the Islamic State in June of 2015.

The scope of the suspects’ alleged terrorist plot remains unclear. However, police said while they believe the extent of the planned attack was “small,” it was also very “real.”