The Treaty of Warsaw (also the Polish-Ukrainian or Petlura-Piłsudski Alliance or Agreement) of April 1920 was a military-economical alliance between the Second Polish Republic, represented by Józef Piłsudski, and the Ukrainian People's Republic, represented by Symon Petlura, against Bolshevik Russia. The treaty was signed on 21 April 1920, with a military addendum on 24 April.
The alliance was signed during the Polish-Soviet War, just before the Polish Kiev Offensive. Piłsudski was looking for allies against the Bolsheviks and hoped to create a Międzymorze alliance; Petlura saw the alliance as the last chance to create an independent Ukraine.
The treaty had no permanent impact. The Polish-Soviet War continued and the territories in question were distributed between Russia and Poland in accordance with the 1921 Peace of Riga. Ukrainian territories were split between the Ukrainian SSR in the east and Poland in the west (Galicia and part of Volhynia).
The Polish leader Józef Piłsudski was trying to create a Poland-led alliance of East European countries, the Międzymorze federation, designed to strengthen Poland and her neighbors at the expense of Tsarist Russia, and later of the Russian SFSR and the Soviet Union. His plan was however plagued with setbacks, as some of his planned allies refused to cooperate with Poland, and others, while more sympathetic, preferred to avoid conflict with the Bolsheviks. But in April 1920, from a military standpoint, Polish army needed to strike at the Soviets, to disrupt their plans for an offensive of their own. Piłsudski also wanted an independent Ukraine to be a buffer between Poland and Russia rather than seeing Ukraine again dominated by Russia right at the Polish border. Piłsudski, who argued that "There can be no independent Poland without an independent Ukraine", may have been more interested in Ukraine being split from Russia than he was in Ukrainians' welfare. As such, Piłsudski turned to Petlura, whom he originally had not considered high on his planned allies list.