SENATOR Barack Obama has been elected the first black president of the United States.

"It's been a long time coming, but tonight... change has come to America," the president-elect told a jubilant crowd at a park in Chicago.

His rival John McCain accepted defeat, saying "I deeply admire and commend" Mr Obama. He called on his supporters to lend the next president their goodwill.