Scotland face Costa Rica, Hungary, Peru and Mexico in friendlies

Scotland's Dave McPherson tackles Juan Cayass of Costa Rica
Scotland last played Costa Rica at the 1990 World Cup finals

Scotland will play a series of four friendlies in preparation for their inaugural Uefa Nations League campaign.

Costa Rica will be the first opponents, at home on Friday 23 March, followed by away fixtures against Hungary, Peru and Mexico.

It could be the Scotland's first game under a new manager.

Main target Northern Ireland manager Michael O'Neill held talks with the Scottish FA earlier this week.

Costa Rica recorded a 1-0 victory over Scotland in the 1990 World Cup finals in their sole meeting thus far.

Hungary score at Hampden Park.
Scotland suffered a 3-0 loss to Hungary at Hampden in their last meeting in 2004 under Berti Vogts

The Central Americans are preparing for this year's finals in Russia, where they face Brazil, Serbia and Switzerland in the group stage.

Diego Brenes, director of their national teams, said on the official website of the Fedefutbol Association: "Although Scotland did not qualify for the World Cup, they were close to doing so, are competitive in Europe and have a similar system to Serbia and Switzerland."

Scotland will travel to Budapest four days after taking on Costa Rica to face Hungary, with the remaining fixtures coming at the end of the season.

Joe Jordan scoring against Peru
Scotland suffered a 3-1 defeat to Peru in the 1978 World Cup finals despite Joe Jordan opening the scoring

Peru will be their next opponents in Lima on 29 May, with the South American side preparing for their first World Cup in 36 years.

The tie will bring back memories of an infamous 3-1 defeat Scotland suffered during the 1978 World Cup finals in Argentina, despite leading through Joe Jordan's early strike.

The series of fixtures will be completed in Mexico City on 2 June against a side also preparing for the finals in Russia. It will be the first time the two nations have met.

SFA chief executive Stewart Regan said: "We are delighted to have secured such exciting opposition for our matches and I am looking forward to seeing the team continue on its current upward trajectory.

"I am sure our fans will relish away trips to Hungary, Peru and Mexico and will be looking forward to a long-overdue rematch against Costa Rica."

The draw for the Nations League will take place on 24 January.