Final vote count gives opposition candidate 50.89 percent, while his liberal rival receives 49.11 percent.