When Queen Anne died in 1714, her nearest Protestant relative was the Elector (ruler) of Hanover, then an independent German principality.
He became George I of Great Britain and Ireland. He was obviously married to a German.
His son was George II who was also married to a German.
His son, Frederick, predeceased him but married a German.
George III was Frederick son and he married a German.
George IV was his son and married a German, only child before him.
William IV was his brother and married a German, only legitimate child died before him, lots of illegitimate ones.
Victoria was his niece and Married a German. In Hanover, women can’t become rulers so it went to her uncle.
Edward VII was her son and Married a Danish Princess
George V was his son and Married someone actually born in England but had an equally German pedigree.
Initially, he was of the House of Saxe-Coburg and Gotha, but the slimy PM convinced him to change it to Windsor in 1917 during WWI since the PM loosing the war the time and needed to distract people.
Edward VIII was his son and married a well-connected American hooker no children and he abdicated because well, who he wanted to marry.
George VI was his brother and married Elizabeth, who was Scottish and English.
Elizabeth II is his daughter.
Anyway, though mostly German, the Queen has Scottish, French, Irish, and a whole host of other connections.
Through her mother, she was a descendant of the Duke of Wellington’s brother.
Also, through her mother, she is part Persian and a descendant of the Islamic Prophet Mohamed.
One of her mother’s ancestors was an Aga Khan’s, hereditary leaders of the Ismaili Sect of Islam, a offshoot of Shiite Islam. The Aga Khan’s claim direct descent from The Prophet Mohamed.