Jan Matejko painted The Union of Lublin to commemorate the 300th anniversary of the signing of the treaty establishing the Commonwealth of Poland–Lithuania, concluded on 1 July 1569.