Story highlights Paul Begala: The relatively powerless Schumer and Pelosi got what they wanted from a man whose party is in control. How?

Democratic unity and common sense paid off, he writes -- plus Trump really, really hates McConnell and Ryan

Paul Begala, a Democratic strategist and CNN political commentator, was a political consultant for Bill Clinton's presidential campaign in 1992 and was counselor to Clinton in the White House. He was a consultant to Priorities USA Action, the pro-Hillary Clinton super PAC. The opinions expressed in this commentary are his.

(CNN) I never again want to hear someone ask why the Democrats chose Nancy Pelosi and Chuck Schumer as their leaders. The two just made a deal with the guy who wrote "The Art of the Deal" and made it the Art of the Steal. Poor President Donald Trump was lucky he got out of the room with his hair.

On Wednesday, Trump threw his support to a deal that gave the Democratic leaders everything they wanted: disaster relief funding and a 90-day extension of both the day-to-day funding of the government and the debt ceiling.

That means when the dual deadline for the budget and debt arrives in mid-December, Democrats will have enormous leverage. They will be in a position to trade support for the budget and the debt ceiling for any number of Democratic priorities, from health care to protection of Dreamers who are suddenly facing deportation.

JUST WATCHED Was deal Trump trying to get back at McConnell? Replay More Videos ... MUST WATCH Was deal Trump trying to get back at McConnell? 03:00

Senate Majority Leader Mitch McConnell and Speaker Paul Ryan were left fuming, the rug having been yanked out from under them by the leader of their own party.

How did this happen? How did the relatively powerless Schumer and Pelosi get everything they wanted in a negotiation with a man whose party controls the House, the Senate and the White House? Four factors:

Read More