Their victory was comprehensive.

So, largely, was their education.

The SNP's group of 56 MPs may be overwhelmingly professional and university-educated. But they are also by far the parliamentary faction with the fewest public schoolboys and girls.

An analysis of the background of Scottish MPs show that the vast majority of Nationalists in the Commons went to state secondaries.

We asked all the 59 Scottish MPs where they went to school. All but three - all from the SNP - told us.

All three unionist MPs - one from each of the main anti-independence parties - went to comprehensives.

So too did almost all the SNP group. Only two Nationalist MPs had their education paid for privately.

Edinburgh South-West's Joanna Cherry went to the now closed St Margaret's Convent School in the capital, and Ochil and South Perthshire's, Tasmina Ahmed-Sheikh went to George Heriot's, also in Edinburgh, for her fifth and sixth years. She had earlier attended the capital's Craigmount High comprehensive.

Another MP, Kirsty Blackman, went to the independent Robert Gordon's in Aberdeen, but she did so on a scholarship. Two other SNP MPs went to grammar schools in Northern Ireland and England.

One, Deidre Brock, went to state high school in her native Western Australia. The rest attended secondary moderns or comprehensives in Scotland.

Many went to well-performing comprehensives in advantaged communities, such as parts of Edinburgh or Royal Deeside. But others attended schools with poor records on churning out youngsters with qualifications. Stewart McDonald, of Glasgow South-West, went to Govan High, a secondary where, in 2013, no child on their fourth-year roll went on to obtain five or more highers.

The Sutton Trust, which studies the educational backgrounds of MPs, reckons just five per cent of SNP members of parliament went to private school. That compares with 17 per cent for Labour, 14 per cent for the Liberal Democrats and 48 per cent for the Conservatives.

The Herald's analysis tallies with this finding, with just three of the 56 SNP MPs - five per cent - declaring that they attended a private school (albeit one not paying to do so).

This is roughly in line with the four per cent of Scottish children who are privately educated.

However, three of the party's MPs have either refused to say where they were educated or failed to do so.

One, Peter Grant, the SNP member for Glenrothes, told us he viewed the information as not "relevant". Mr Grant, an accountant and former teacher, also refused to confirm any details of his university education.

Two more, East Dunbartonshire's John Nicolson and Coatbridge, Chryston & Bellshill's Phil Boswell, failed to respond to repeated requests for information about their schooling.