elizabeth. The president signed the bill just after midnight. And notices have already gone out to federal workers that it is time to get back to work. The motion is adopted. Reporter: After all the drama, the house approved the bill. Although most republicans voted no, speaker boehner allowed the vote rather than risk an economic meltdown. Even before the bill passed, president obama declared an end to the crisis, at least for now. We'll begin reopening our government immediately. Reporter: The agreement was crafted in the senate, where republican leaders decided to give up on the demand that triggered the crisis. There will be no major changes to obama care. Senator ted cruz who started the fight with a nearly 22-hour talk-a-thon nearly two weeks ago, called it a terrible bill. And he put the blame on senate republicans for failing to support tea party republicans in the house. It is heartbreaking to the american people that senate republicans divided as they did and decided to direct their criticism, direct their attention, direct their canon fire at house republicans and at those standing with the american people. Reporter: Senator cruz and his fellow tea partiers are vowing another fight. Is the president worried about another crisis? Is this going to happen again in another two months? Reporter: What did congress do after passing the bill? They adjourned and left town. The senate doesn't return back TO WORK UNTIL OCTOBER 28th. Your government is back and reopened. But congress is taking a break.