Transition from paganism to Christianity was nonetheless an uneven process. For example, when the formidable Harald Gormsson attempted to impose Christianity on Denmark in the mid-10th century, the inhabitants resented the change, which led to his son driving him out of the country and returning it to its pagan practices. Sometime around 1000 CE, Iceland was formally declared Christian, however, pagan religious practices were tolerated in the private sphere. The change of religion took place in some places peacefully, while in others through forced conversion. Norwegian King, Olaf II, (later canonized as St Olaf) who reigned in the early 11th century, attempted to spread Christianity throughout his kingdom, but was forced into exile by a rebellion in 1028 and killed at the Battle of Stiklestad in 1030. In 1080, Sweden's King Inge the Elder, who had converted to Christianity, was exiled from Uppsala by his own people when he refused to sacrifice to the pagan gods. Nonetheless, most of Scandinavia turned from their Nordic pagan practices and converted to Christianity by the 11th century. Adam of Bremen provided the last description of widespread paganism being practiced in the Nordic countries.