Kate Middleton and Prince William are paying their respects to the victims of the recent Orlando, Fla. mass shooting.

The Duke and Duchess of Cambridge made a surprise visit to the US Embassy in London on Tuesday, June 14 to give an emotional tribute to the 49 people tragically killed at Pulse nightclub in Florida on Sunday, June 12.

kate middleton prince william getty images

Kate and William in London on June 14.

During their somber visit, Kate, 34, and William, 33, signed a book of condolence opened at the embassy following the attacks.

RELATED: Princess Charlotte Makes Her Buckingham Palace Balcony Debut — See the Photos!

“With our deepest condolences and with our thoughts and prayers to all those affected,” William wrote in the book before both he and Kate signed their names.

kate middleton prince william getty images

Kate and William’s message in the book of condolence.

The couple’s recognition of the Orlando shootings is especially poignant as William’s younger brother, Prince Harry, 31, has a personal connection with the city.

Just last month, Harry hosted his Invictus Games — an international Paralympic-style multi-sport event for wounded, injured or sick armed services personnel — in Florida. He previously launched the games in London in 2014.