 The city was named after the Danish king Frederick II in 1569.The last element "stad" means "city".Prior to 1877, the name was spelled "Frederiksstad", then from 1877–1888 it was written as "Fredriksstad", and finally since 1889 it has been spelled in its current form