What Bernie Sanders said last night while you were asleep

Vermont Sen. Bernie Sanders vowed to stay in the race for the Democratic nomination for president Tuesday night, despite the fact that former Secretary of State Hillary Clinton passed the number of delegates she needs to secure the nomination -- when you count superdelegates.

>>What is a superdelegate, and what do they do?

Sanders, speaking in front of a rowdy crowd in Santa Monica, Calif., called his campaign a movement, and conceded that the odds may be  against him, as he is "pretty good at arithmetic, and I know that the fight in front of us is a very, very steep fight, but we will continue to fight for every vote and every delegate we can get."

>> Got a question about the news? See our explainers here 

Here is the transcript of the speech Sanders gave -- at nearly 2 a.m. ET -- in California.

"Thank you. Thank you, LA! Thank you all.

"Thank you. Let me … Let me thank … Let me thank … Let me thank ...

"Let me thank all of you for being here tonight. And let me thank all of you for being part of the political revolution. I especially want to thank the tens of thousands of volunteers here in the state of California. And I want to thank the people of California for their incredible hospitality. It has been one of the most moving moments of my life to be out throughout this state in beautiful evenings and seeing thousands and thousands of people coming out. People who are prepared to stand up and fight for real change in this country.

"All of you know, all of you know, that when we began this campaign a little over a year ago we were considered to be a fringe campaign. But over the last year, I think that has changed, just a little bit. By the end of tonight, we’ll have won, I believe 22 state primaries and caucuses. We will have received well over 10 million votes. And what is most extraordinary to me is that in virtually every single state, we have won in big numbers, the votes of young people. Young people understand that they are the future of America, and they intend to help shape that future. And I am enormously optimistic about the future of our country when so many young people have come on board and understand that our vision, a vision of social justice, economic justice, racial justice, and environmental justice, must be the future of America. Our vision will be the future of America.

"Our campaign from Day 1 has understood some very basic points, and that is first, we will not allow right-wing Republicans to control our government. And that is especially true with Donald Trump as the Republican candidate. The American people in my view will never support a candidate whose major theme is bigotry. Who insults Mexicans, who insults Muslims and women and African Americans. We will not allow Donald Trump to become president of the United States.

"But we understand that our mission is more than just defeating Trump, it is transforming our country. The vast majority of the American people know that it is not acceptable that the top tenth of 1 percent owns as much wealth as the bottom 90 percent; we’re going to change that. And when millions of Americans are working longer hours for lower wages, we will not allow 57 percent of all new income to go to the top 1 percent. And we will end a corrupt campaign finance system.

"Democracy is not about billionaires buying elections. And we will end a broken criminal justice system. And we will break up the major banks on Wall Street. And we will join the rest of the industrialized world and guarantee health care to all people as a right. And we will bring about real immigration reform and a path toward citizenship. And we will tell the billionaire class and corporate America that they will start paying their fair share of taxes. And what we understand, and what every one of us has always understood, is that real change never occurs from the top on down, always from the bottom on up.

"That is the history of America, whether it is the creation of the trade union movement, the civil rights movement, the women’s movement, the gay movement. And that is what OUR movement is about.

"But you all know it is more than Bernie. It is all of us together. It is what this movement is about. Is millions of people from coast to coast standing up and looking around them and knowing that we can do much, much better as a nation. That whether Wall Street likes it, whether corporate America likes it, whether wealthy campaign contributors like it, whether the corporate media likes it, we, together, together we know what our job is. And that is to bring the American people together to create a government that works for us, not the 1 percent.

"Next Tuesday, we continue the fight in the last primary in Washington, D.C. We are going, we are going, we are going to fight hard, we are going to fight hard to win the primary in Washington, D.C. And then we take our fight for social, economic, racial, and environmental justice to Philadelphia, Pennsylvania!

"I am pretty good at arithmetic, and I know that the fight in front of us is a very, very steep fight, but we will continue to fight for every vote and every delegate we can get. Tonight I had a very kind call from President Obama and I look forward to working with him to ensure that we move this country forward. And tonight, I had a very gracious call from Secretary Clinton and congratulated her on her victories tonight. Our fight is to transform our country and to understand that we are in this together. To understand that all of what we believe is what the majority of the American people believe. And to understand that the struggle continues.

"I want to thank the people of North Dakota. It appears that we will likely win Montana as well. I don’t think anybody knows where we’ll end up in California, but I suspect the gap will significantly diminish. And if this campaign has proven anything, it has proven that millions of Americans who love this country are prepared to stand up and fight to make this country a much better place.

"Thank you all, the struggle continues."

About the Author