sentences:  Only after the end of the Napoleonic Wars could Björn travel to Denmark and enrolled in 1817 at the University of Copenhagen, where he studied theology and mathematics.During his studies, he won the university's gold medal for mathematics twice.In 1822, a new post for a school teacher in Danish, mathematics, and history opened at the school of Bessastaðir in Iceland and was offered to Björn.