You move here and get a temporary one for 3 years, then you get one for 10 years and I don't know what's after that.
The first one was two years, the second one was five years, the last one was permanent residency, obviously, permanent has a different meaning in Polish, as on receiving it, I noticed it has to be renewed after 10 years.