The United States and India signed a major nuclear co-operation agreement during a visit by United States President George W. Bush in March 2006. According to the nuclear deal, the United States was to give India access to civilian nuclear technology while India agreed to greater scrutiny for its nuclear programme. Later, United States approved a controversial law allowing India to buy their nuclear reactors and fuel for the first time in 30 years. In July 2008, the United Progressive Alliance survived a vote of confidence brought after left-wing parties withdrew their support over the nuclear deal. After the vote, several left-wing and regional parties formed a new alliance to oppose the government, saying it had been tainted by corruption. Within three months, following approval by the U.S. Congress, George W. Bush signed into law a nuclear deal with India, which ended a three-decade ban on American nuclear trade with Delhi.