On November 6, 1657, Poland and Brandenburg-Prussia signed the
Treaty of Bromberg.
Ducal Prussia, which had previously allied itself with Sweden and attacked Poland, changed sides and guaranteed military support of the Commonwealth, in return for sovereignty (it had been a
fief of Poland since 1466).
This treaty is regarded as one of the worst mistakes in Polish history.