Spain's Socialist chief Pedro Sanchez was sworn in as prime minister on Saturday, a day after ousting Mariano Rajoy in a historic no-confidence vote sparked by fury over corruption woes afflicting the conservative leader's party.