Law 29/2012 was published on 9 August 2012 and is the first amendment to the law establishing the legal rules applicable to the entry, stay, exit and removal of foreign nationals into and out of Portugal, which had been approved by Law 23/2007, of 4 July. This law is not, in general, applicable to EU citizens.