That concludes our live blog of today's extraordinary events in Spanish politics.
Here is the full story about today's events:
And a profile of new Spanish Prime Minister Pedro Sánchez:
A tweet from the leader of center-right party Ciudadanos.
"Sánchez has consumated his pact with all of the seperatists and populists to be prime minister at any cost. Rajoy could have avoided it but he didn't. [Ciudadanos] will be a strong opposition and we will defend the union and equality of all Spaniards in the face of those who want to liquidate our nation."
Podemos chief Pablo Iglesias tweets:
"The government in B is out [a reference to undeclared funds.] There's a sense of satisfaction, but we are well aware that this is just the first step. We will continue to work with enthusiasm for a Spain that is caring and excludes no one. YES WE CAN"
Tweet from now ex-defense minister, Dolores Cospedal.
"An honor to have served my country and all Spaniards. Thanks to Mariano Rajoy for having placed his trust in me. And my gratitude to all men and women who make up the Armed Forces for defending our country. #proudtobeSpanish"
Tweet from Rajoy:
"I'm proud to have been your prime minister. I did everything possible and everything necessary to leave things better than how I found them. And together we have acheived it. The decisions weren't always easy, but all have served to defend #Spain. Thanks to all Spaniards. MR."
Rajoy's speech in Congress this morning, when he admitted defeat ahead of the no-confidence vote.
"It has been an honor to be prime minister of the government of Spain. Thank you to you all. I hope that my replacement will be able to say the same when the moment comes."
Tweet from La Moncloa prime ministerial palace.
The German government has said it hopes to maintain its "close and trusted" relationship with Spain, according to spokesperson Steffen Seibert.
Spokesperson for Jean-Claude Juncker, the head of the European Commission, has said the Juncker has total trust in the new Spanish government, according to Reuters.
Ana Pastor, the head of the Congress of Deputies, will meet with King Felip VI at 3:30pm to inform him of the results of the no-confidence motion.
Worth pointing out that the reference to "M. Rajoy" in the Podemos and Junts per Catalunya tweets below is no doubt a nod to the appearance of "M. Rajoy" on the ledgers kept by former PP treasurer Luis Bárcenas, who was last week sentenced to a lengthy jail term for his role in the Gürtel scandal.
Rajoy denied having received cash payments, but in their Gürtel ruling last week the judges in charge of the case said that the prime minister's testimony "lacked credibility."
Full story here: http://cort.as/-6Xy_
One of the key images from yesterday's no-confidence debate: Mariano Rajoy's chair in Congress, left empty while the prime minister dined in a Madrid restaurant, occupied by the deputy prime minister's handbag.
Full story here: http://cort.as/-6Xx4
Important point: Mariano Rajoy today became the first Spanish prime minister to be ousted via a vote of no-confidence since Spain returned to democracy in the 1970s.
What happens now? Miquel Alberola reports:The speaker of Congress, Ana Pastor, will meet with Spanish King Felipe VI at 3.30pm this afternoon, and convey the result of the no-confidence motion vote to him.
Albert Rivera of Ciudadanos promises a strong opposition: "These coming months of the legislature, we will be working hard until Sánchez dares to call elections."
The leader of the Ciudadanos (Citizens) party, Albert Rivera, tells reporters of the need to closely watch any concessions new Spanish Prime Minister Pedro Sánchez might make to Quim Torra, describing the new premier of Catalonia as a "racist."
"The PP and PSOE didn't want Spaniards to decide," he added. Rivera was in favor of early elections in Spain, but did not support the no-confidence motion.
Spanish politics has had its fair share of surreal moments in recent times, but the sight of Prime Minister Rajoy taking refuge in a Madrid restaurant while Congress debated his ouster must beat them all. Account of the incident here from Iñigo Domínguez
Mariano Rajoy shakes Pedro Sánchez's hand before leaving Congress. Sánchez receives a standing ovation. Deputies chant "yes, we can."
Congress has passed the no-confidence motion against Spanish Prime Minister Mariano Rajoy with 180 votes in favor, 169 against and one abstention.
The result means that Rajoy will be forced to step down and will be replaced by PSOE leader Pedro Sánchez as the prime minister of Spain. http://cort.as/-6Xlj
The no-confidence motion has received 176 votes, the absolute majority needed to oust Mariano Rajoy
Vote count currently stands at:
176 votes left to cast. Absolute majority: 176.
Voting beginning in Congress, with each deputy being called by name and announcing their vote verbally.
How did we get to this motion of no-confidence? The sentences handed down in the massive Gürtel kickbacks-for-contracts case prompted Pedro Sánchez to file the motion.
Here is our story from last week about the court ruling:
Governing Popular Party and its ex-treasurer, sentenced in massive corruption case
"Mariano Rajoy has been a great prime minister, who with lots of works and effort, has brought this country forward. He leaves with his head high after leave Spain better than he found it and for that, all Spaniards will be eternally gratefuly to him," wrote PP secretary general Fernando Martínez Maíllo.
Tweet from the Socialist Party, quoting secretary general Pedro Sánchez: "A new era in Spanish politics is beginning. I am reaching out to all the parliamentary groups to open these new times and I hope that we are all up to the responsibilities that we have ahead of us."
PSOE leader Pedro Sánchez poses for photos with members of his party ahead of the no-confidence vote.
Congress will vote on the no-confidence motion against PM Mariano Rajoy at 11am. Here is our explainer on out what will happen if it succeeds: http://cort.as/-6Xlj
"I am proud to be a member of the Popular Party and to have a prime minister like Mariano Rajoy who has worked tirelessly and with courage for a country that PSOE left devastated," wrote Rafael Hernando, PP's parliamentary spokesperson, on Twitter.
With the numbers against him, Mariano Rajoy tells Congress: "Pedro Sánchez will be the prime minister of the government and I want to be the first to congratulate him."
"It has been an honor to be the prime minister of the government of Spain. It has been an honor to leave a better Spain than the one I found," he added. "Hopefully my replacement can say the same on his day, I wish it for the good of Spain."
"Thank you to the people of Spain for having offered me your understanding and support."
Socialist (PSOE) leader Pedro Sánchez addresses Congress ahead of the no-confidence vote against Prime Minister Mariano Rajoy: "Today democracy has won."
Sánchez looks set to receive 180 “yes” votes, four more than the 176 required for an absolute majority, to pass the motion and remove Rajoy from office.
And here is today's Editorial from EL PAÍS, which calls on Mr Rajoy to resign and also points out how tough it is going to be for Socialist Party leader Pedro Sánchez to govern given the parties that are supporting him in the no-confidence motion vote.
Welcome to this live blog, where we will be keeping you up to date with all the events in this extraordinary week for Spanish politics