This is the 1384th most frequent Swedish word.
ungern
"Hungary" (country in Europe).
In this sentence, 'Ungern' refers to the country Hungary as a proper noun.
Ungern är ett vackert land att besöka.
Hungary is a beautiful country to visit.
Here, 'Ungern' represents the origin of the friend, referring to Hungary.
Jag träffade en vän från Ungern igår.
I met a friend from Hungary yesterday.
In this context, 'Ungern' is used to describe the source of the history, indicating that it pertains to Hungary.