Plurality, not majority. It may be pedantic but it's an important difference.
I was going to say that it was a majority this time, but it seems like the results shifted as more votes were counted after election night, and he ended up with 49.8%. Still, unbelievably, pretty close to a majority.