Six new big bastions were erected in 1684-1703, one semi bastion named Spes (Hope) on the south side of the castle and two ravelins. Three ravelins were not built because of Northern War beginning in 1700.