July 2, 1964, President Lyndon B. Johnson signed the Civil Rights Act in the company of Martin Luther King Jr. and other civil rights activists.

Today President Obama released this statement to commemorate the legislation:

Forty-five years ago today, President Johnson signed into law historic legislation that moved America closer toward fulfilling the dream of our founding – a dream of opportunity, equality, and justice for all. The Civil Rights Act of 1964 ended legal discrimination, helping grant all Americans equal justice under the law – no matter what their gender or the color of their skin.

The Civil Rights Act was born during Freedom Summer 1963, but its passage was only possible because generations of Americans of all backgrounds stood up, sat down, and marched in freedom’s cause. Once it was signed into law, a renewed pledge was made to all Americans not to deny any man a seat at a lunch counter, not to deny any woman an opportunity in the workplace, and not to deny any child a chance to make the most of their God-given potential.

But while the Civil Rights Act opened doors of freedom and opportunity, we know that far too many inequities and barriers remain in the African-American community and across this country. And we must continue to break down these barriers in our laws, our policies, and our hearts so that we can not only fulfill the full promise of the Civil Rights Act, but perfect the union that our founders created two hundred and thirty-three years ago this week.

Archival video provided by NBC Learn, the education arm of NBC News. For more historic video and classroom resources for teachers and students, visit nbclearn.com.