Doug Jones defeated Republican candidate Roy Moore to become the first democratic candidate to win a statewide elections since the 1990s.