User:Tkmsmc2/Law on the Rights and Freedoms of Foreigners

La ley de extranjería is the name by which the Ley Orgánica 4/2000, of January 11, on the Rights and Freedoms of Foreigners in Spain and their Social Integration, modified by LLOO 8/2000, 14/2003, and 2/2009. It is the Spanish law which regulates the entry and stay of non-EU foreigners in the Spanish territory, and the rights and freedoms that are recognized for them. It's current development regulations were approved by Royal Decree 557/2011, on April 20th (BOE on April 30th), which repeals the previous Royal Decree 2393/2004, of December 30th.

The law comprises of seventy-one articles, structured into five titles. The preliminary title contains general provisions and the others refer, respectively, to the rights and freedoms of foreigners, their legal system, infractions regarding immigration matters and the sanctioning procedure, and the coordination of public powers.

Evolution of Spanish immigration regulations
Traditionally, Spain has been a country of emigration, for which the legislature has focused on this area, whilst legislation related to immigration was fragmentary. The first attempt to alleviate this came with la Ley Orgánica 7/1985, on July 1st, on the Rights and Freedoms of Foreigners, which was strongly criticized for its police treatment of the migratory phenomenon, its restrictive regulation regarding the rights of foreigners, and the deficient legal technique that was shown. Spain, which was soon going to join the then European Community, tried to avoid becoming a gateway to the continent: some social organizations reported that it was the harshest law in Europe. The law was the subject of an appeal for unconstitutionality; La Sentencia del Tribunal Constitucional 115/1987, on July 7th, annulled several precepts from the rule and marked a change in the constituional doctrine on immigration matters toward a more progressive line. The deficiencies of the law and the transformation of the migration phenomenon in Spain at the end of the 1980s and in the 1990s showed the need for a new law to adapt to the circumstances.