He entered the White House a living symbol, breaking a colour line that stood for 220 years. Barack Obama's presidential victory in 2008 was a turning point in America's tumultuous history of race relations and it set high expectations for progress yet to come. No matter what he would achieve, he seemed destined to be remembered foremost as the first black man to lead the world's most powerful nation. Eight years later most Americans say Obama's legacy is decidedly mixed.

Obama's legacy
US President Barack Obama waits to deliver the commencement address to the 2016 graduating class of Howard University in Washington on 7 May 2016Joshua Roberts/Reuters

To many, his election was a step toward realising the dream of a post-racial society. African-Americans, along with Latinos and Asians, voted for him in record numbers in the 2008 presidential elections, full of expectations that he'd deliver on hope and change for people of colour. Some say he achieved this, ushering in criminal justice reforms that helped minorities, protecting hundreds of thousands of immigrants from deportation, and appointing racially diverse leaders to key jobs, including the first two black attorneys general.

His supporters say he deserves more credit than he gets for bringing America back from the worst recession since the Great Depression, the killing of Osama bin Laden, and a major expansion of health care that secured insurance for millions of minorities. They celebrate his family as a sterling symbol of black success.

Obamas legacy
Supporters reach out to touch the hand of democratic presidential candidate Senator Barack Obama (D-IL) after he spoke at a rally in Dallas, Texas on 20 February 2008Jessica Rinaldi/Reuters
Obamas legacy
President Barack Obama holds the Nobel Prize medal and diploma following the Nobel Peace Prize ceremony at the Oslo City Hall in Oslo, Norway on 10 December 2009Pete Souza/The White House
Barack Obama
US President Barack Obama, Vice President Joe Biden and the national security team monitor in real time the mission against Osama bin Laden in the White House Situation Room, Washington on 1 May 2011Pete Souza/The White House
Obamas legacy
Photographed through a prison cell window, US President Barack Obama tours the El Reno Federal Correctional Institution in El Reno, Oklahoma on 16 July 2015Kevin Lamarque/Reuters
Obamas legacy
US President Barack Obama talks on the phone with President Raúl Castro of Cuba in the Oval Office on 16 December 2014. The next day, the US President announced the US would restore full relations with Cuba after more than 50 yearsPete Souza/The White House

However, some critics cite persistently high childhood poverty among African-Americans and say Obama could have acted more directly while in office to help them. Others believe Obama showed leadership on race by making it a central topic of the national political dialogue.

Eight years after Obama's historic election, just 27 percent see the US as more united as a result of his presidency, according to an Associated Press-NORC Center for Public Affairs Research poll conducted after the 2016 election. Far more – 44 per cent – say it's more divided.

Obamas legacy
Though recently renamed the "Task Force on Improving the Lives of Boys and Young Men of Color and Underserved Youth", Obama prided himself on one of his signature programs designed to provide opportunities for boys and youth of colorJonathan Ernst/Reuters
Obamas legacy
US President Barack Obama bends over so that the son of a White House staff member can pat his head during a family visit to the Oval Office in this handout photo taken in Washington on 8 May 2009Pete Souza/The White House
Obamas legacy
Seven-year-old Barack Obama, named after US President Barack Obama, walks at the Senator Obama primary school in Kogelo village west of Kenya's capital Nairobi, Kenya on 16 July 2015Thomas Mukoya/Reuters
Obamas legacy
US President Barack Obama (L) and his wife Michelle paint quotations attributed to slain civil rights leader Martin Luther King Jr during a day of service in King's honor at the Browne Education Campus school in Washington on 16 January 2012. The quotations read: "The time is always right to do what is right" and "I have a dream"Jonathan Ernst/Reuters

Still, 57 per cent say they view Obama favourably, putting him way ahead of his predecessor, George W Bush, and on par with Bill Clinton at the end of their two terms. Clinton had the same 57 per cent but Bush just 40, according to Gallup polling at the time. Bush's father fared better, with 62 per cent viewing him favourably at the end of his time in office, despite his failure to win a second term.

Obama leaves office more popular than he was just a few years ago. In December 2014, the month after Democrats lost control of the Senate, just 41 percent said they viewed him favourably. His complicated legacy comes into sharper focus when it comes to race. Nearly 8 in 10 African-Americans view the nation's first black president favourably, but far fewer see his presidency as having yielded the type of profound changes for black Americans that many had hoped.

Obama's legacy
The Obamas and Bidens following the President’s election night remarks at McCormick Place in Chicago on 6 November 2012David Lienemann/The White House

Just 43 per cent of African-Americans say Obama made things better for black people, while roughly half say they see no difference. Six per cent say Obama has made things worse. His presidency did not usher in racial harmony. Both blacks and whites believe race relations have deteriorated, according to polls. Mounting tensions over police shootings of African-Americans prompted protests in several cities and the emergence of the Black Lives Matter movement.

Black Lives Matter
14 January 2017: Kandy Freeman participates in a Black Lives Matter protest in front of Trump Tower in New York CityStephanie Keith/Reuters

Many believe Obama showed leadership on race by making it a central topic of the national political dialogue. "You know, if I had a son, he'd look like Trayvon," Obama said in 2012, in particularly poignant remarks following the shooting of Trayvon Martin, a black youth gunned down by a white Hispanic man. Obama devoted much of his presidency toward the enactment of gun reform laws to curb gun violence, especially mass shootings.

Obamas legacy
A member of the crowd wears a t-shirt with an image of President Barack Obama during a rally led by Tracy Martin, father of Trayvon Martin, in Miami, Florida on 20 July 2013Andrew Innerarity/Reuters
Obamas legacy
US President Barack Obama pauses while speaking about the Trayvon Martin case in the press briefing room at the White House in Washington on 19 July 2013Larry Downing/Reuters

Obama has often said his most difficult moment in office was grappling with the December 2012 massacre of 20 children and six adults at Sandy Hook Elementary School in Newtown, Connecticut. Following the tragedy, the Democratic president failed to persuade Congress to toughen US gun laws, and has blamed lawmakers for being in the thrall of the powerful National Rifle Association gun lobby group.

Obamas legacy
US President Barack Obama listens, as John Brennan briefs him on the details of the shootings at Sandy Hook Elementary School in Newtown, Connecticut, on14 December 2012. The President later said during a TV interview that this was the worst day of his PresidencyPete Souza/The White House
Obamas legacy
Protesters line the street in front of the Roseburg Regional Airport on 9 October 2015 in Roseburg, Oregon. Most were protesting against President Obama's visit to Roseburg, as the community recovered from the Umpqua Community College shootingSteve Dykes/Getty Images
Obamas legacy
US President Barack Obama walks away after meeting with families of victims of the Umpqua Community College shooting in Roseburg, Oregon on 9 October 2015Kevin Lamarque/Reuters
Obamas legacy
US President Barack Obama sheds a tear while delivering a statement on steps the administration is taking to reduce gun violence in the East Room of the White House in Washington on 5 January 2016Carlos Barria/Reuters

In January 2016, Obama issued new executive actions to tighten gun rules after being stymied by Congress' inaction on gun control. Obama asked his advisers to examine new ways to use his executive authority to tighten gun rules unilaterally without congressional approval. This ignited a political firestorm by bypassing Congress with the measures, causing Republicans to say he misused his powers.

Obama's legacy
US President Barack Obama speaks to Arizona Sheriff Paul Babeu as he participates in a live town hall event on reducing gun violence hosted by CNN’s Anderson Cooper (R) at George Mason University in Fairfax, Virginia on 9 January 2016Kevin Lamarque/Reuters

During Obama's presidency, the number of American's without health insurance hit historic lows. Once the Affordable Care Act, popularly known as Obamacare, requiring uninsured Americans to purchase a health plan from state-run insurance marketplaces.

Once in place, as many of 20 million previously uninsured people had access to the health care for the first time. However, this remained a deeply divisive social programme with nearly half of Americans opposing it. Trump and the Republican-controlled Congress are vowing to repeal it.

Obamas legacy
President Barack Obama, Vice President Joe Biden, and senior staff applaud in the Roosevelt Room of the White House, as the House passes the health care reform bill on 21 March 2010Pete Souza/The White House
Obamas legacy
US President Barack Obama (C) greets supporters after a rally celebrating the final passage of the Patient Protection and Affordable Care Act at the Department of the Interior in Washington, DC on 23 March 2010Dennis Brack/Getty Images

Another benchmark of Obama's presidency has been his support for LGBT rights, including gay marriage. While Obama started his first term opposed to gay marriage, by the time of his re-election in 2012 his thinking had evolved. The Supreme Court approved the ruling on same-sex marriage on 26 June 2015.

In the battle over transgender rights, Obama asked all US public schools to allow all students to use the bathroom of their choice, a non-binding directive that conservatives have vowed to resist.

Obamas legacy
The White House staff listen from the White House Colonnade as US President Barack Obama delivered a statement regarding the Supreme Court ruling on same-sex marriage on 26 June 2015Amanda Lucidon/The White House
Obamas legacy
The White House is lit with the colours of the rainbow in celebration of the Supreme Court ruling on same-sex marriage on 26 June 2015Pete Souza/The White House

Starting from the first days of his presidency, Obama faced an economic crisis, started by massive defaults in the housing market that threatened the plunge the nation into deep recession or, worse, depression. Jobs were evaporating and a financial crisis deepening by the day. In early 2009, unemployment hit 10.3 percent. It is now down to 5 percent. And, presently, the stock market is near all-time highs with corporate profits shattering records. The problem is that while many economists praise Obama's economic might, many Americans have not felt the benefits of the economic upturn.

"I think the greatest achievement of President Obama was to get us out of the really deep hole that he inherited in the Great Recession and trying to ensure that will never happen again by getting Dodd-Frank bank reform," Lawrence Mishel, the president of the Economic Policy Institute think tank told Reuters.

Obamas legacy
US President Barack Obama signs the Dodd-Frank Wall Street Reform and Consumer Protection Act alongside members of Congress, the administration and US Vice President Joe Biden(L) at the Ronald Reagan Building in Washington, DC on 21 July 2010Saul Loeb/AFP
Obamas legacy
Jobseekers stand in line to attend the Dr. Martin Luther King Jr. career fair held by the New York State department of Labor in New York on 12 April 2012Lucas Jackson/Reuters

It may be those persistent challenges that have fuelled the perception that despite the economic recovery, things haven't improved enough. Just 4 in 10 Americans said they and their families are better off than when Obama took office, while about a quarter say they're worse off. About a third say they haven't seen much change.

Obama's legacy
In 2014, a Democratic-backed congressional proposal to increase the federal minimum wage for the first time since 2009 to $10.10 stalled, as have subsequent efforts by the presidentLucas Jackson/Reuters

Prior the 2016 presidential election, the Obama administration sued North Carolina in order to block newly enacted voting rules that it said violated federal civil rights law, including a requirement for voters to show photo identification at the polls. Democrats and Republicans fight vigorously over such requirements because they affect voter turnout and may swing close elections.

For civil rights advocates, they also echo the earlier, century-long fight to win voting rights for black Americans in the South.

Obama's legacy
A supporter listens to US President Barack Obama speak at a campaign rally for Democratic Senator Barbara Boxer at University of Southern California in Los Angeles on 22 October 2010Kevin Lamarque/Reuters

Political analysts say that the victory of Donald Trump, whose inauguration will be held on 20 January, is likely to have a negative impact on the Obama legacy. Obama's aides have reportedly said that for his legacy to be ingrained in American society the next president would have to continue to push the policy and platforms that the nation's first African-American president started.

Obama's legacy
US President Barack Obama meets with President-elect Donald Trump in the Oval Office of the White House in Washington on 10 November 2016Kevin Lamarque/Reuters