The Gestapo–NKVD conferences were a series of security police meetings organised in late 1939 and early 1940 by Germany and the Soviet Union, following the invasion of Poland in accordance with the Molotov-Ribbentrop Pact. The meetings enabled both parties to pursue specific goals and aims as outlined independently by Hitler and Stalin, with regard to the acquired, formerly Polish territories. The conferences were held by the Gestapo and the NKVD officials in several Polish cities. In spite of their differences on other issues, both Heinrich Himmler and Lavrentiy Beria had similar objectives as far as the fate of the prewar Poland was concerned. The objectives were agreed upon during signing of German–Soviet Frontier Treaty on 28 September 1939.