Democrats, Begich, and Obama wanted a bipartisan bill. The bill went through hundreds of hearings and markups that lasted days or even months. Democrats accepted Republican changes to the bill and sought unsuccessfully to bring some members of the GOP on to support it. 
At one point Obama asked some Republican senators what he could do to win their vote, the answer was, "nothing."