On 23 October 1501, at Mielnik Polish–Lithuanian union was reformed at the Union of Mielnik (Polish: unia mielnicka, unia piotrkowsko-mielnicka).