That eventuality was however many years in the future, and the birth of a legitimate son to either of his uncles would preempt Frederick's hopes conclusively. Further, his uncle the Duke was not disposed to give any member of his family any role in affairs of government. Frederick therefore determined - like his father - on a military career at the court of Frederick the Great. This later drew Frederick and his family into the Prussian king's network of marriage alliances - in 1776 his sister Sophie would marry to "Tsesarevich" Paul, future Emperor of Russia and son of Empress Catherine II. These family ties to Russia had immediate consequences for Frederick and far-reaching ones for Württemberg during the reorganisation of Europe in the wake of the 1814 Congress of Vienna.