During periods of Scottish administration Berwick was the county town of Berwickshire , to which the town gave its name .
Berwick was once a Scottish town , and gave its name to Berwickshire .