The Polish government-in-exile, officially known as the Government of the Republic of Poland in exile (), was the government in exile of Poland formed in the aftermath of the Invasion of Poland of September 1939, and the subsequent occupation of Poland by Germany and the Soviet Union, which brought to an end the Second Polish Republic.