In 2000, which candidate won the presidency but lost the popular vote by about 540,000 votes?

In 2000, which candidate won the presidency but lost the popular vote by about 540,000 votes?