The UK Home Office has agreed to stop using an algorithm that helps make decisions about visa applications. That writes the BBC Tuesday. The algorithm has been accused of "deep-seated racism".

Human rights organizations Joint Council for the Welfare of Immigrants (JCWI) and Foxglove have taken legal action against the system for taking people's nationality into account when assessing visa applications. Foxglove described the system as a "quick entry for white people."

The system automatically processed information provided by visa applicants and color-coded each applicant - green, orange or red. Foxglove claimed that the Home Office kept a "secret list of suspected nationalities". These nationalities would automatically have received a red rating, which considerably reduced the chance of a visa.

"We have reviewed the operation of the tool and will redesign our processes to make them more streamlined and secure," the ministry said in a statement. The ministry was unable to elaborate on the algorithm against the BBC because another trial is still pending.

As of August 7, the algorithm will no longer be used in the assessment of visa applications. A new system is expected to be operational at the end of autumn.