Barack Obama appears to win the nomination.