MSPs John Finnie and Jean Urquhart quit SNP over Nato policy
Highland MSPs John Finnie and Jean Urquhart have resigned from the SNP over the party's decision to end its long-standing opposition to Nato.
The pair described the decision as "heart-wrenching" and said they would continue to sit as independent MSPs with no official party affiliation.
Party leader Alex Salmond said he was saddened by the resignations.
The SNP now has a majority of one at Holyrood, although the MSPs said they would support most party policy.
The change of stance on Nato membership was approved at the party's conference in Perth on Friday by 426 votes to 332.
The policy was opposed by several MSPs and rank and file members, including Mr Finnie and Ms Urquhart.
The SNP's stance for the last 30 years has been to oppose Nato, the defence alliance involving the US, UK and other countries.
However, Angus Robertson MP put forward a resolution saying an independent Scotland should become a member of the pro-nuclear weapons organisation.
He told the conference that the fresh approach was dependent on Trident nuclear weapons - which are currently based at Faslane Naval base on the Clyde - being removed from Scotland and on Scotland's refusal to host nuclear weapons in the future.
Mr Finnie and Ms Urquhart, both former Highland councillors, opposed the change of policy.
A member of the SNP since he was 16, Mr Finnie said: "I cannot continue to belong to a party that quite rightly does not wish to hold nuclear weapons on its soil, but wants to join a first strike nuclear alliance.
"Although I envisage that I will continue to share common ground with the SNP on many issues, I cannot in good conscience continue to take the party whip."
Ms Urquhart, who has been a supporter of independence for 25 years and a member of anti-nuclear weapons movement CND for 35 years, added: "The issue of nuclear disarmament and removing Trident from Scotland's waters is a red line issue for me, and I could not remain committed to a party that has committed itself to retaining membership of Nato.
"We are both steadfast in our belief that Scotland should be an independent country, and will actively and positively campaign for a Yes vote in 2014.
"We believe in an independent Scotland, not a Nato-dependent Scotland."
Mr Salmond said the pair had been excellent servants to the SNP and thanked them for their "tireless efforts".
He said: "I'm saddened that Jean and John have decided to resign from the party.
"We had an excellent and democratic debate at party conference last Friday, and agreed a policy of reaffirming our opposition to nuclear weapons as a non-nuclear member of the Nato alliance - a position that will be accepted by the party as a whole."
Mr Salmond added: "Jean and John have indicated to me that they will continue to support the government from the back benches, and I welcome that."
Dave Thompson, SNP MSP for Skye, Lochaber and Badenoch, also opposed the change of policy - but said he was disappointed by his colleagues' resignations.
He said: "I've got huge respect for both John and Jean, who are committed Nationalists.
"I'm disappointed they've chosen to resign from the SNP over this issue. It is an issue people hold very strong views about.
"Personally I was against the change in our policy and campaigned very strongly against it, but I've got no intention personally of leaving the SNP. I'm going to stick in there and try to secure and build on the guarantees we were given during the debate."
The resignations leave the SNP with 65 MSPs, which still gives the party a majority in the Scottish Parliament.
A total of 69 SNP MSPs were elected in May 2011, but the choice of Tricia Marwick as presiding officer meant reduced the number to 68.
Dunfermline MSP Bill Walker was expelled from the party in April following allegations of domestic abuse.