The phrase trick-or-treat was first used in Canada in 1917, with the traditions brought over to North America by immigrants. Guising gave way to threatening pranks in exchange for sweets.