Did nationalism exist before the nation state?

Did nationalism exist before the nation state?

Answer with reference to AT LEAST TWO societies.

Oxford referencing required .
This should focus on the medieval period, using England and Wales as exampled of societies with one other (eg Norman)