Poland's ruling party, the Justice Party, faces elections in 2024. The influx of grain from Ukraine has lowered prices for farmers in Poland, and this affects the largely rural base of the Justice Party. As a result the government has acted to stop Ukrainian grain from entering the country, and also bans the shipment of grain through Poland to other EU countries. The UN sponsored Black Sea ports agreement that allows Ukraine to ship from Odessa and other ports is also coming up for renewal.