Spain's MPs are due to vote on a motion of no confidence against Prime Minister Mariano Rajoy, following a huge corruption scandal involving the governing party.

The BBC's Gavin Lee explains how things got to this point.