As noted above it is 20 generations back from Robert Miller to William Wallace

Sir William Wallace (Scottish Gaelic: Uilleam Uallas; 1272 23 August 1305) was a Scottish knight and landowner who is known for leading a resistance during the Wars of Scottish Independence and is today remembered in Scotland as a patriot and national hero.

Along with Andrew Moray, he defeated an English army at the Battle of Stirling Bridge, and became Guardian of Scotland, serving until his defeat at the Battle of Falkirk. A few years later Wallace was captured in Robroyston near Glasgow and handed over to King Edward I of England, who had him executed for treason.

Wallace was the inspiration for the poem, The Acts and Deeds of Sir William Wallace, Knight of Elderslie, by the 15th-century minstrel, Blind Harry and this poem was to some extent the basis of Randall Wallace's screenplay for the 1995 film Braveheart.