The video will start in 8 Cancel

What is really going on in politics? Get our daily email briefing straight to your inbox Sign up Thank you for subscribing We have more newsletters Show me See our privacy notice Invalid Email

Sajid Javid is being welcomed as a new Home Secretary with a reportedly more liberal attitude to immigration than his predecessors.

He opposes including student numbers as part of the overall immigration target and as business secretary and a George Osborne supporter saw the value of immigrants for the economy.

And as the son of Pakistani immigrants some campaigners hope he will be more likely to see immigrants as people rather than mere numbers.

But he supported the hostile environment which Labour say created the awful situation many of the Windrush generation find themselves in.

That's because Theresa May's 2014 Immigration Act introduced rules which meant that the health service was required to check patients' immigration status before treating them.

It also stipulated that landlords would be criminalised if they rented homes to illegal immigrants and employers were required to check people's immigration status.

(Image: REUTERS)

The problems arose because the Windrush generation did not have the documentation to be able to prove when they arrived in the UK.

On the key parts of the hostile environment Sajid Javid backed the government.

These included voting against banning detention for pregnant immigrants and to extend deportation powers.

He voted in favour of making it an offence to rent a home to those without a right to rent and for migrant status checks on bank account openings.

(Image: REUTERS)

He also backed "making it a criminal offence for someone to work if their immigration status prohibits it".

He voted to restrict the support available to failed asylum seekers and illegal migrants.

And he voted to create criminal offences of renting a home, driving, and working, while disqualified from doing so due to immigration status; and for other measures in the Immigration Bill.

Separately he also voted to repeal the Human Rights Act.

This is his voting record: