Ireland has not opted into the Long-Term Residents Directive. Under the Irish national system, long-term residency can be granted with a Stamp 4 permission to remain which is valid for five years. This applies to persons who have been legally resident in the State for a minimum of five years on a work permit, work authorisation or working visa conditions. Applications for long-term residency do not apply for persons granted refugee status or granted permission to remain on humanitarian grounds. It also does not apply for people who entered the State under a family reunification scheme.