People voted for him. Very few voters thought negatively of the race or skin color of Barack Obama. And for the record, Mr. Obama is as "white" as he is "black," being born to a white/American mother and a black/African father.
It depends entirely on the country. In many cases, black presidents come from Africa where such a thing is completely expected since blacks are the overwhelming majority of the population. As concerns the United States, it has a black president because a black person ran for president and was elected. There is no rule or "understanding" in the United States that the President must be from a certain racial, ethnic, or religious background.
He ran against President John Adams
Paul Ryan is a United States Representative from Wisconsin. He also ran for Vice President of the United States in the 2012 election.
Barack Obama
No one "ran" the Northern States (The Union) - the President of the United States at the time was Abraham Lincoln.
Ulysses S. Grant
he got elected president when he ran for it. He was also a vice president before he was the president of united states.
The first black president of the United States is/was Barack Obama. He was elected in 2008 and re-elected in 2012. But perhaps you ran into some newspaper articles from the 1990s. Prior to the election of President Obama, there was a popular (but controversial) president named Bill Clinton. He was white, but he was beloved by black voters because he was passionate about civil rights and took a stand on behalf of black people in the south. So he was jokingly called "America's first black president" by the media.
Gus Hall ran for President of the United States four times in a row and was defeated each time. He ran in 1972, 1976, 1980, and 1984.
George Washington ran a plantation, he was a general and he was the First President of the United States of America.
In 1824 he ran ran for president. Sadly he did not win. John Adams one. But in 1829 he ran for president again. He won! He served from 1829-1837