 In 1385 Jogaila opened a new chapter in the history of Lithuania by converting the country to Christianity and signing a personal union with Poland, becoming King of Poland.This Polish–Lithuanian union, in various forms, survived until the third partition of the Polish–Lithuanian Commonwealth in 1795.Jogaila's branch of the Gediminids is known as the Jagiellon dynasty.