So the Union was an attempt to preserve the continuity of his dynasty's work since the personal (but not constitutional) union of Poland and Lithuania at the marriage of Jadwiga of Poland and Wladyslaw II Jagiello.