Long-term resident (European Union)
A long-term resident in the European Union is a person who is not a citizen of an EU country but has resided legally and continuously within its territory for five years with a means of support (i.e. without recourse to the social assistance system of the host country) and fulfills some further requirements, as defined in Directive 2003/109/EC. The status permits the holder some of the rights of free movement afforded to EU/EEA citizens in the participating countries; of the EU countries Denmark and Ireland (and, prior to its withdrawal, the United Kingdom) do not participate in implementing the Directive.
Source: Wikipedia — Long-term resident (European Union) (CC BY-SA 4.0)