Theresa May will stay on as U.K. prime minister to get Brexit done, even if that means remaining in the job until the end of October, Chancellor of the Exchequer Philip Hammond said Friday.

May promised to step aside once the divorce agreement has been passed in Parliament, so a new leader can take charge of the next phase of Brexit talks focusing on the future partnership with the European Union. Many politicians in the ruling Conservative Party want to force her out sooner, but Hammond suggested they'll be disappointed.

"As far I know she doesn't have any intention of leaving until that deal is done," Hammond said in an interview with Bloomberg TV's Francine Lacqua at the International Monetary Fund meetings in Washington. "She's a person with a strong sense of duty, she's a person who feels she has an obligation to the British people to deliver Brexit, and she will certainly want to make good on that obligation."