By 1790 the First Polish Republic had been weakened to such a degree that it was forced into an unnatural and terminal alliance with its enemy, Prussia. The Polish–Prussian Pact of 1790 was signed. The conditions of the Pact contributed to the subsequent final two partitions of Poland–Lithuania.