King Felipe and Queen Letizia with the Queen Mother, Sofia at Palma's Almudaina Palace in August 2015. | Efe

The following comes from the British Embassy in Madrid:

The British Ambassador to Spain, Simon Manley, has welcomed the announcement of a state visit to the United Kingdom from 6 to 8 June 2017.

“In this Sapphire Jubilee celebration year for Her Majesty the Queen, I am delighted that that Their Majesties King Felipe VI and Queen Letizia of Spain have accepted her invitation to visit the UK,” said Mr Manley.

 “This State Visit will celebrate not only the long and deep royal and historic ties between our two countries, but also our strong relationship as partners bilaterally, within Europe and on the global stage. We enjoy close connections in terms of culture, commerce, education, science and innovation. This is an opportunity to celebrate and deepen those links.”

The Ambassador was speaking from Santander, where he is touring the north of Spain to promote education, tourism and investment in the UK.

This is the first state visit by King Felipe and Queen Letizia to the UK and they will stay at Buckingham Palace. The programme will be announced in due course. The last state visit was when King Juan Carlos I and Queen Sofia visited in 1986. Queen Elizabeth II and The Duke of Edinburgh returned with a state visit to Spain in 1988.

Since then, the Spanish and British royal families have paid a number of formal visits to each other’s countries. In 2002, King Juan Carlos and Queen Sofia attended the annual Order of the Garter Ceremony at St George's Chapel, Windsor Castle, including a dinner at Windsor Castle given by The Queen and The Duke of Edinburgh.

In 2011, The Prince of Wales and The Duchess of Cornwall paid a three-day official visit to Spain that was hosted by Prince Felipe and Princess Letizia. A few weeks later Queen Sofia, Prince Felipe and Princess Letizia attended the wedding in London of Prince William to Catherine Middleton.

The British and Spanish Royal Families are directly related through the marriage of Alfonso XIII of Spain to Princess Victoria Eugenia, known as Ena, granddaughter of Queen Victoria, in 1906. Victoria Eugenia is the great-grandmother of King Felipe.

Today, the United Kingdom and Spain are close partners in NATO and United Nations, among numerous international organisations. We also continue to cooperate in the European Union, and once we leave the EU we want to strengthen our strong and constructive bilateral relationship with Spain.

The two countries are also major partners in trade, with 40bn GBP of trade in 2015, including British goods and services worth almost 15bn GBP exported to Spain, and imports from Spain to the UK worth 25bn GBP.

Nearly 300,000 Britons are registered as residents in Spain and 18 million visitors came from the UK last year, whilst more than 132,000 Spaniards are resident in the UK and two million visited in 2015.

On top of that, we share close educational connections, with nearly 11,000 Spanish students studying at UK universities and 50,000 students attending British schools in Spain.