The amalgam was applied as a paste and then heated until the mercury vaporized, leaving the gold, silver, or tin behind.