Muirfield was stripped of its right to host the British Open after the Scottish club voted against admitting female members in a move Thursday that provoked sharp criticism from players and lawmakers.

The Honourable Company of Edinburgh Golfers, which owns Muirfield, announced its decision to retain the club’s male-only policy following a ballot of its members. A two-thirds majority was required for a change to take place but of the 616 members who voted, 36 percent were against allowing women.

Within minutes, the Royal and Ancient, which runs the British Open, said Muirfield had been taken off the list of 10 courses that can host golf’s oldest major championship.

“Going forward we will not stage the Championship at a venue that does not admit women as members,” R&A chief executive Martin Slumbers said in a statement. “If the policy at the club should change, we would reconsider Muirfield as a venue for The Open in future.”

Muirfield has staged the British Open 16 times, most recently in 2013 when Phil Mickelson won the claret jug. Royal Troon, which hosts this year’s tournament from July 14-17, is the only other club on the rotation to still exclude women.

British sports minister David Evennett said the decision by Muirfield’s members was “extremely disappointing” and “sends out completely the wrong message.”

“Scotland has women leaders in every walk of life,” Nicola Sturgeon, Scotland’s first minister, said on Twitter. “It is 2016. This is simply indefensible.”

advertisement | advertise on newsday

Golfers past and present backed the R&A’s stance.

“Gone are the days where you can discriminate in a club,” said two-time British Open champion Padraig Harrington, commenting from the Irish Open. “The R&A have a bigger responsibility to society, and they’ve done the right thing.”

South Africa great Gary Player, who won the British Open at Muirfield in 1959 for the first of his nine major titles, said the club’s decision was “simply unacceptable.”

“I hope Muirfield will reconsider their position soon and continue hosting one of the world’s greatest golf events,” Player said.

The Royal and Ancient Golf Club at St. Andrews, the spiritual “Home of Golf,” opened its membership to women in 2014 for the first time in 260 years. Royal St. George’s, another British Open host, ended its male-only membership last year. Augusta National, home of the Masters, decided in 2012 to invite women to join.

@NewsdaySports

But Muirfield refused to budge in the face of fierce pressure from equality campaigners and lawmakers.

When Muirfield hosted the British Open in 2013, the R&A was heavily criticized for allowing the club to stage the event given its opposition to having female members. A consultation exercise was opened the following year.

Scottish newspaper The Scotsman reported Wednesday that a group of members at Muirfield — leading a “No” campaign against women joining the club — had canvassed fellow members, saying “it is accepted that we may have to change, but we should not do so now on the basis suggested.”

“A traditional resistance to change is one of the foundations of our unique position in golf and our reputation,” the members wrote in the letter, according to The Scotsman.

Among the concerns of some members was that female golfers would play too slowly.

advertisement | advertise on newsday

Speaking in front of the Muirfield clubhouse, club captain Henry Fairweather said he was disappointed that women would not be admitted but the club had to follow the rules set by its members.

“Women will continue to be welcome at Muirfield on the course and in the clubhouse as guests and visitors, as they have been for many years,” Fairweather said.

Troon has separate men’s and women’s clubs and is consulting members over whether to alter that arrangement.