The Pact of Vilnius and Radom was a set of three acts passed in Vilnius, Grand Duchy of Lithuania, and confirmed by the Crown Council in Radom, Kingdom of Poland in 1401. The union amended the earlier act of the Union of Krewo (1385) and confirmed the Ostrów Agreement (1392). Vytautas was granted the title of Grand Duke of Lithuania alongside Władysław II Jagiełło, King of Poland, who reserved his rights of an overlord, effectively making them formal coregents, with Jagiełło a dominant one as "Supreme Duke". After the death of Vytautas, Lithuania was to be ruled by Władysław II Jagiełło or his legal heir. The union is generally seen as strengthening of the Polish–Lithuanian union.