U.K. Prime Minister Boris Johnson will press on with his plan to deliver Brexit by Oct. 31, senior ministers said, despite defeats in Parliament and the sudden resignation of Work and Pensions Secretary Amber Rudd with a furious attack on his leadership.

Chancellor of the Exchequer Sajid Javid and Foreign Secretary Dominic Raab said on Sunday that the Brexit plan is unchanged — even though Parliament passed a law requiring Johnson to ask the European Union for an extension on Oct. 19 if he can't get a deal by then.

"The prime minister is sticking to his guns," Raab told Sky News, adding that Johnson will visit Dublin for talks on Monday. "We're going to keep going on with the negotiations, we know we want a deal by the end of October, but we must leave come what may."