N or way ▁al lied ▁itself ▁with ▁France . ▁ ▁Den mark – N or way ▁was ▁defeated ▁and ▁had ▁to ▁c ede ▁the ▁Kingdom ▁of ▁Norway ▁to ▁the ▁King ▁of ▁Sweden ▁at ▁the ▁Tre aty ▁of ▁K iel . ▁Norway ' s ▁over se as ▁poss essions ▁were ▁kept ▁by ▁Den mark . ▁But ▁the ▁Norweg ians ▁object ed ▁to ▁the ▁terms ▁of ▁this ▁treat y , ▁and ▁a ▁constitution al ▁assembly ▁declared ▁Norwegian ▁independence ▁on ▁ 1 7 ▁May ▁ 1 8 1 4 ▁and ▁elected ▁the ▁Crown ▁Prince ▁Christian ▁Freder ik ▁as ▁king ▁of ▁independent ▁Norway . ▁Following ▁a ▁Swedish ▁invasion , ▁Norway ▁was ▁forced ▁to ▁accept ▁a ▁personal ▁union ▁between ▁Sweden ▁and ▁Norway , ▁but ▁retained ▁its ▁liberal ▁constitution ▁and ▁separate ▁institutions , ▁except ▁for ▁the ▁foreign ▁service . ▁The ▁union ▁was ▁dissol ved ▁in ▁ 1 9 0 5 . ▁ ▁Religion ▁Den mark – N or way ▁was ▁among ▁the ▁countries ▁to ▁follow ▁Martin ▁Luther ▁after ▁the ▁Protest ant ▁Re formation , ▁and ▁thus ▁established ▁Luther an ▁Protest ant ism ▁as ▁official ▁religion ▁in ▁place ▁of ▁Roman ▁Catholic ism . ▁Luther an ▁Protest ant ism ▁pre va iled ▁through ▁most ▁of ▁the ▁union ' s ▁life ▁span . ▁ ▁There ▁was ▁however ▁one ▁other ▁religious ▁" re formation " ▁in ▁the ▁kingdom ▁during ▁the ▁rule ▁of ▁Christian ▁VI , ▁a ▁follow er ▁of ▁Piet ism . ▁The ▁period ▁from ▁ 1 7 3 5 ▁until ▁his ▁death ▁in ▁ 1 7 4 6 ▁has ▁been ▁nick named