Democrat Barack Obama wrote himself into history becoming the first Black US President in a landslide election win over Republican rival John McCain, engineering a huge political transformation four decades after the peak of civil rights movement for racial equality.