Former Alabama Supreme Court Justice Roy Moore, who was endorsed by Steve Bannon, defeated the incumbent backed by President Donald Trump.