As a state legislator, Obama worked with both Democrats and Republicans in drafting successful legislation on ethics and health care reform.[34] He sponsored a law enhancing tax credits for low-income workers, negotiated welfare reform, and promoted increased subsidies for child care.[35] Obama also led the passage of legislation mandating videotaping of homicide interrogations, and a law to monitor racial profiling by requiring police to record the race of drivers they stopped.[35][36] During his 2004 general election campaign for U.S. Senate, Obama won the endorsement of the Illinois Fraternal Order of Police, whose president credited him with having been "immensely helpful in working with police organizations" on death penalty reform.
Obama sponsored 152 bills and resolutions brought before the 109th Congress in 2005 and 2006, and cosponsored another 427.[57][58] Obama took an active role in the Senate's drive for improved border security and immigration reform. Beginning in 2005, Obama co-sponsored the "Secure America and Orderly Immigration Act" introduced by Sen. John McCain (R-AZ).[59] He later added three amendments to S. 2611, the "Comprehensive Immigration Reform Act," sponsored by Sen. Arlen Specter (R-PA).[60][61] S. 2611 passed the Senate in May 2006, but failed to gain majority support in the U.S. House of Representatives.[62] In September 2006, Obama supported a related bill, the Secure Fence Act, authorizing construction of fencing and other security improvements along the United StatesMexico border.[63] President Bush signed the Secure Fence Act into law in October 2006, calling it "an important step toward immigration reform."[64]
Partnering first with Sen. Richard Lugar (R-IN), and then with Sen. Tom Coburn (R-OK), Obama successfully introduced two initiatives bearing his name. "Lugar-Obama" expands the Nunn-Lugar cooperative threat reduction concept to conventional weapons, including shoulder-fired missiles and anti-personnel mines.[66][67] The "Coburn-Obama Transparency Act" provides for a web site, managed by the Office of Management and Budget, listing all organizations receiving Federal funds from 2007 onward, and providing breakdowns by the agency allocating the funds, the dollar amount given, and the purpose of the grant or contract.[68][69] In December 2006, President Bush signed into law the "Democratic Republic of the Congo Relief, Security, and Democracy Promotion Act," marking the first federal legislation to be enacted with Obama as its primary sponsor.[70]
As a member of the Senate Foreign Relations Committee, Obama made official trips to Eastern Europe, the Middle East, and Africa. In August 2005, he traveled to Russia, Ukraine, and Azerbaijan. The trip focused on strategies to control the world's supply of conventional weapons, biological weapons, and weapons of mass destruction as a first defense against potential terrorist attacks.[71] Following meetings with U.S. military in Kuwait and Iraq in January 2006, Obama visited Jordan, Israel, and the Palestinian territories. At a meeting with Palestinian students two weeks before Hamas won the legislative election, Obama warned that "the U.S. will never recognize winning Hamas candidates unless the group renounces its fundamental mission to eliminate Israel."[72] He left for his third official trip in August 2006, traveling to South Africa, Kenya, Djibouti, Ethiopia and Chad. In a nationally televised speech at the University of Nairobi, he spoke forcefully on the influence of ethnic rivalries and corruption in Kenya.[73] The speech touched off a public debate among rival leaders, some formally challenging Obama's remarks as unfair and improper, others defending his positions.