Madrid, Spain – Bah spent four years trying to reach Spain from Morocco, then another four building a life there. As election results put the far right within reach of power, the 38-year-old Senegalese man was afraid.

“I couldn’t sleep last night when I heard that the [People’s Party] PP had won,” Bah said. “I was almost crying.”

He had renewed his temporary residence permit twice, but his latest application was refused in March. He challenged the decision and said he has paperwork allowing him to continue working at a small nonprofit while he waits.

During the campaign, politicians spoke in interviews about sending people without papers back to their home countries. Bah thought of those comments on election night. “Now we don’t know what they are going to do,” he said. “All of that really scared me.”

Alberto Nunez Feijoo’s conservative People’s Party came first in Sunday’s snap election, winning 134 seats—short of the 176 needed for an outright majority. The far-right Vox party won 52 seats, outperforming other major parties.

The two parties could form a governing coalition or Vox could support and influence a PP minority government from outside. Vox is widely expected to join the cabinet, although it remains unclear what ministries the conservatives might concede. The parties already govern together in at least four regions.

Vox leader Santiago Abascal made immigration a focus of his campaign. During Socialist Prime Minister Pedro Sanchez’s eight years in office, the number of foreign-born residents rose from 6.3 million to 10.4 million, according to Spain’s national statistics institute. Vox has made reversing the socialist government’s immigration policies a goal and has often singled out Muslim migrants in its rhetoric.

During coalition talks this week, Abascal doubled down on his anti-immigration promises. On election night, he arrived at the party’s headquarters in the capital to cheers from some supporters, who chanted, “Spain is Christian, not Muslim”.

Meryem Haimer, 45, said she felt a shiver down her spine when she saw a social media video of the scene. She moved from Casablanca to Spain 18 years ago on a work contract and became a Spanish citizen in 2020. She said she had spent years being rejected for jobs because she wears a headscarf. At interviews for airport jobs, she recalled being told she would have to take it off. She eventually found work through word of mouth, caring for children and elderly people.

Haimer is most worried about how her children, aged 14 and 16, will be treated. Both were born in Spain. She tells them to stay quiet if someone calls them “moro”, a slur for North Africans.

“Now they’re still young, so I don’t let them go out much or stay out late,” she said. “But they’re going to grow up, they will go out, and it might happen.”

Vox has pledged to deport undocumented people, ban mass regularisations and abolish arraigo (roots), a path to residence for people who can demonstrate qualifying ties to Spain. Under what the party calls “remigration”, it also proposes deporting people it deems to be making insufficient contributions or relying on public benefits. Its “national priority” policy would put Spanish nationals first in access to benefits, creating a two-tier society.

Eduardo Gomez, an immigration lawyer at the firm Red Juridica, said Spain’s constitution and European rules could limit what a parliamentary majority can do. He said abolishing arraigo would leave more people who have already spent years in Spain dependent on informal work.

“You end up creating a pocket of poverty, an informal economy, and a population of vulnerable individuals with no access to their rights,” he said.

Karen, 25, has experienced how quickly an application can unravel. An Argentinian national who grew up in Paraguay, she received a training-based arraigo permit that expired three months before she finished her course. She said she had to restart the process. She eventually obtained a residence permit through her mother, who had become a Spanish citizen. The permit allows her to work and is valid until 2030.

Karen is now thinking about her 17-year-old brother, who still lives in Paraguay. She wants him to have the chance to study in Spain, as she did.

“I personally am grateful that today I have already been regularised,” she said. “But tomorrow, if my brother wants to come from my country and study here, I hope that these elections are not the reason he cannot have that opportunity.”