Government had been looking for a way to end the contract with Atos but was waiting for a way to get out of the deal without losing the taxpayer money said Department for Work and Pensions minister Mike Penning.
Mr Penning said that if the DWP had sacked Atos "we would have had to have paid millions of pounds in compensation to them. I've had to work with them to actually say we want you to leave, they've announced that they wanted to leave.
"But I didn't want a gap and I wanted a quality and I wanted the backlog sorted out that we've negotiated and done and of course there'll be a large contribution to the tax payer."
More top news
An blast of cold air from the east could see the UK's coldest spell since 2013.
UK unemployment increased by 46,000 to 1.47 million, in the quarter to December 2017 - the first jump since the summer of 2016
The judges ruled that the women, who were attacked by Worboys in 2003 and 2007, were failed by the police.