Adoption of the new law on residency of foreigners is based on the need to ensure compatibility of Slovak legislation on foreigners residency with European legislation. The law also unifies the above issues with the issue of security and border control. The law defines new concepts based on the application in practice.