Several members of the Jagiellonian dynasty came after Zygmunt August.
The Sejm moved to Warsaw in 1569, and the death of the last ruler of the Jagiellonian dynasty, Zygmunt August, led to the creation of a Republic of Nobles and an elective monarchy that would serve it.