The People's Party and its leader, Mariano Rajoy, unseated the governing Socialist Party on Sunday in a resounding victory for the conservative leader who has promised to tackle an economic crisis that is threatening to bankrupt Spain.