The United Kingdom of Poland, at the time known as the Kingdom of Poland, was a kingdom in Central Europe. Its capital was Kraków. The state was formed on 20 January 1320, with the coronation of Władysław I Łokietek, from the confederal Kingdom of Poland, that consisted of various duchies. It existed until 1386, when, following the Union of Krewo of 1385 and the subsequent coronation of Władysław II Jagiełło on 4 March, it entered into a personal union with the Grand Duchy of Lithuania, and was reformed as the Crown of the Kingdom of Poland. In 1370, it had an area of 270 000 km² (104 247.6 square miles) and a population of around 2.5 million people.