(CNN) -- Six Republicans and four Democrats sparred over immigration, terrorism and each other's records during a double-feature debate in New Hampshire on Saturday, just three days before the Granite State holds the nation's first primary.

It was the last forum in which candidates from each party were able to tussle over the issues on a national stage before New Hampshire voters choose their favorites.

The debates were held at Saint Anselm College in Manchester, and the GOP and Democratic candidates mingled briefly, hugged and shook hands between their respective debates.