Members of Open Championship venue Royal Troon have voted in favour of admitting women to the club.
Royal Troon is the only remaining host club to maintain a male-only membership policy after golf governing body The R&A removed Muirfield from the rota when its members voted against accepting female members.
A vote took place at a meeting on Friday evening where members voted "overwhelmingly" to welcome women to the club.
A review of membership policy was announced by Troon in January 2015 and was initially not due to be resolved until later this year.
However, the South Ayrshire club brought forward its vote to before this year's Open, taking place between July 14 and 17.
Club captain Martin Cheyne said: "We have said a number of times recently that it is important for golf clubs to reflect the society in which we exist and the modern world that looks to us.
"Therefore, I am delighted with the decision taken by Members of Royal Troon this evening and look forward to welcoming women to our great Club.
"It is the right decision for the Club today, and for the generations of golfers that will follow."
Royal St George's in Kent voted last year to admit women members and The Royal and Ancient Golf Club of St Andrews opted to end its 260-year-old male-only membership policy in September 2014.
Troon has previously considered itself a special case as it shares facilities with the Ladies Golf Club, Troon.
Muirfield, meanwhile, plans to hold another vote on female membership just weeks after members rejected the proposal.
Mr Cheyne said: "Tonight we turn our attention to jointly hosting the 145th Open Championship with our great friends at The Ladies Golf Club, Troon.
"We can now all be focused on golf and showcasing this wonderful club and golf course to the huge global audience that this most prestigious Championship commands.
"I am grateful for the support of many people, including Scottish Golf - the game's governing body in Scotland - for its unswerving support and to my vice-captain and fellow members of the committee.
"I pay special thanks to the members who turned out tonight for an important discussion and the right decision for Royal Troon Golf Club."
A spokesman for The R&A said: "We welcome this decision by the membership at Royal Troon and recognise its significance for the club.
"Our focus today is very much on the 145th Open in just under two weeks' time but we can now look forward to many more great Championships at Royal Troon in years to come."
Muirfield's decision in May not to admit women members was greeted with anger in and out of the game and the course was stripped of the right to host the Open.
The East Lothian club held a ballot at the end of a two-year consultation on membership but failed to get the two-thirds majority of its 648 eligible voters required to change policy.
The Honourable Company of Edinburgh Golfers, which runs Muirfield, said it is now seeking a fresh ballot.
Approving female members will begin ''restoring the reputation of the club'', captain Henry Fairweather believes.
The news was also welcomed by senior professionals in the men's game.
Open champion Rory McIlroy admitted golf clubs had to "move with the times".
"It's about time. We're in 2016 here, you've got to move with the times," he told Press Association Sport.
"I respect that men want their own space, women want their own space.
"It happens in every household and my mum and dad are in two separate rooms watching two different programmes!
"People want their own space but at the same time you need to make it accessible for everyone and it's a good thing that they have and at least that potential cloud over the Open Championship in a couple of weeks has been moved away."
Two-time winner of the Claret Jug Padraig Harrington echoed those sentiments.
"It's very pleasing, a very sensible move in this day and age when there is no reason not to," he said.
Muirfield's decision to re-ballot members was also welcomed by McIlroy.
"It was a majority of members that voted at Muirfield any way, they just needed two-thirds - which is tough," he said.
"But I think the majority of people realise in this day and age it's just not the done thing.
"Women might not even want to be a member at Muirfield, but give them the option."