‘The rights of EEA nationals (plus Swiss) to reside in the UK are primarily addressed in the Citizens Directive (Directive 2004/38/EC) which is implemented in the United Kingdom in the Immigration (European Economic Area) Regulations 2016.’
Free Movement, 21st February 2017
Source: www.freemovement.org.uk