Here's what's in the debt ceiling deal

After several weeks of tense negotiations, President Joe Biden and House Republicans have reached an agreement in principle to address the debt limit and cap spending.

The drama is by no means over. Congressional leaders in both parties have to convince enough of their members to vote for the agreement, which contains provisions that lawmakers on each side of the aisle don't support.

The bill text was released on Sunday evening, and both parties are trying to cast the provisions as favorable for their side.

Here's what we know about the deal, based on the bill text, White House sources and information circulated by House Republicans.

Addresses the debt ceiling: The agreement would suspend the nation's $31.4 trillion debt limit through January 1, 2025. This removes it as a potential issue in the 2024 presidential election.

Caps non-defense spending: Under the deal, non-defense spending would remain relatively flat in fiscal 2024 and increase by 1% in fiscal 2025, after certain adjustments to appropriations were made, according to a White House official. After fiscal 2025, there would be no budget caps.