A father and son charged after explosive materials and a detonator were allegedly found inside their Richmond Hill home were granted bail on Friday, while a source close to the investigation said the younger suspect was “on the cusp of radicalization” prior to his arrest.

York Regional Police say that on May 9, they were made aware of a suspect being investigated by both the U.S. Customs and Border Protection service and the Canadian Border Services Agency.

The next day, officers executed a search warrant on a home in the Larratt Lane area, near Canyon Hill Avenue and Bathurst Street.

Occupants of nearby homes were ordered to evacuate and an unspecified quantity of explosives and a detonator were removed by OPP and York Region officers.

Officers brought trailers, trucks, and tents to facilitate a search of the home and the removal of the explosive chemicals, which a source told CTV News Toronto were located in the home’s garage and an adjacent shed.

The source said that the chemicals located in the home included mercury, red phosphorus and ammonium nitrate.

Police also allegedly found a copy of The Anarchist Cookbook, a book filled with instructions for the construction of crude explosive devices, home manufacture of drugs, and the modification of telephones and radios.

On Monday evening, two men were arrested and charged with one count each of possession of an explosive device.

They were identified as Mahyar Mohammadiasl, 18, and Reza Mohammadiasl, 47.

Both men walked out of Newmarket court on Friday afternoon, free on combined $50,000 bail and subject to conditions.

Neither of them spoke to CTV News Toronto outside the courtroom.

Mahyar must be in the company of an unidentified surety at all times.

The source told CTV News Toronto that investigators came across “a sea of red flags” concerning Mahyar “being on the cusp of radicalization.”

The source says Mayhar’s cell phone is in the possession of the U.S. FBI and investigators are examining his other electronics.

On Tuesday, Federal Public Safety Minister Ralph Goodale said the investigation into both men was not a national security issue” and was simply a local police matter.

None of the allegations against the father and son have been tested in court.

Both men are scheduled to appear next in court on June 6.