 France consolidated its hold with the 1679 Treaties of Nijmegen, which brought most remaining towns under its control.France seized Strasbourg in 1681 in an unprovoked action.These territorial changes were recognised in the 1697 Treaty of Ryswick that ended the War of the Grand Alliance.