=== 19th century ===In the early 18th century the Swedes invaded Norway again, and this time the Norwegian army held its own, setting the stage for nearly a century of peace – the longest yet in modern Norwegian history – during which time a distinct Norwegian identity began to evolve.