The presence of Romani in Portugal in the early 16th century is confirmed by the title of a play by Gil Vicente from 1521, Act of the Gypsies (O Auto das Ciganas).
Starting with King John III in 1526 and throughout the centuries, numerous discriminatory laws (some listed below) were aimed at the Romani, who were only recognised as citizens in 1822, after the Liberal Revolution of 1820.
[16][17] The later 1985 Regulation on the Services of the Gendarmerie, in a section entitled "Surveillance on nomads, beggars, tramps and prostitutes" (Section XVII), prescribed "special surveillance on groups and caravans of people who usually wander from land to land doing commerce, taking part in fairs or carrying out any other activities proper of a peripatetic lifestyle" and the monitoring of "their movements in order to prevent and punish any criminal acts" (Article 81), a veiled reference to Romani as "nomads" in a passage that closely resembled that of the previous regulation.
[18] In a judicial review in 1989, the Constitutional Court declared unconstitutional part of the section where it allowed the officers to perform searches without warrants in the caravans, but not the ethnically discriminatory surveillance measures, although Judges Vital Moreira, Magalhães Godinho and Nunes de Almeida co-signed a dissenting opinion, asserting that the norm meant to discriminate Romani communities and was unconstitutional in its entirety for violating the principle of equality.
[20] In the turn of the 20th century, in addition to discriminatory norms enshrined in regulations of the gendarmerie, there were at least two episodes of municipalities expelling the local Romani communities due to an increase in criminal activities attributed to them: in Ponte de Lima, Viana do Castelo, in 1993, and in Faro, Algarve, in 2003.
[32][33] Governmental and municipal programmes to promote Romani integration were launched in order to try the avoidance of a lifestyle built upon underground economy, plain crime and juvenile delinquency.
In 1996, a Working Group for the Equality and Inclusion of Gypsies was created within the High Commission for Migrations and Ethnic Minorities, publishing a report shortly afterwards.