the commonwealth was established by the union of lublin in july 1569, but the crown of the kingdom of poland and the grand duchy of lithuania had been in a "de facto" personal union since 1386 with the marriage of the polish queen hedwig and lithuania's grand duke jogaila, who was crowned king "jure uxoris" władysław ii jagiełło of poland. the first partition of poland in 1772 and the second partition of poland in 1793 greatly reduced the state's size and the commonwealth collapsed as an independent state following the third partition of poland in 1795.