Spanish Prime Minister Pedro Sanchez on Monday resigned as leader of the Socialist Party, a night after losing a national election and ending eight years in power. He said he won't continue as a member of Parliament and signaled he will step back from the front line of politics.