The voting rights bill was passed in the U.S. Senate by a 77-19 vote on May 26, 1965. After debating the bill for more than a month, the U.S. House of Representatives passed the bill by a vote of 333-85 on July 9. Johnson signed the Voting Rights Act into law on August 6, with Martin Luther King Jr. and other civil rights leaders present at the ceremony.