The Scottish FA have confirmed a £5 million deal to buy Hampden from Queen’s Park and keep the stadium as the home of the national game.

With the SFA’s lease set to expire in summer 2020, the governing body were assessing their options, and were weighing up a proposal from Scottish Rugby to move to BT Murrayfield in Edinburgh.

The deal will see Queen’s Park adapt Lesser Hampden into their new ground for all matches.

Scottish FA President Alan McRae said: “Today’s announcement has been the conclusion of a four-year process to review our national stadium beyond 2020.

“It was a hugely difficult decision and I would like to place on record our thanks to Scottish Rugby for their professionalism throughout the process.

“They made a truly compelling case to move to Edinburgh and gave us a very difficult decision to make. I would like to pay tribute to the inspiration, energy and hard work of Scottish Rugby chief executive, Mark Dodson, and his chief operating officer, Dominic McKay – both are true leaders in Scottish sport.

“This decision is about what was best for Scottish football and our members. It is about the future of football in Scotland.

“I would also like to thank everyone who has been part of this process and to recognise the enormous generosity of Lord Haughey.

“Finally, it has also been a hugely challenging time for Queen’s Park, Hampden Park Limited and all of the people who will be directly affected by this decision. We appreciate all their efforts to reach an agreement today and look forward to working with them to shape the future and continue to develop a national stadium that we can all be proud of.”

Lord Willie Haughey pledged £2.5m to help secure the stadium.

Hampden Park will host four matches at Euro 2020. It is one of 12 stadiums across Europe selected as host venues for the tournament.