The vote follows tense negotiations between President Joe Biden, a Democrat, and House Speaker Kevin McCarthy, a Republican. The two parties struggled to work through their opposing views on spending as the US faced a potential default, should they have failed to come to a compromise on raising the debt ceiling limit.