Barack Obama .jpg
Photograph: EPA/MICHAEL REYNOLDS

Americans "cannot let the actions of a few define all of us," US President Barack Obama said Saturday, calling on Americans grieving from three consecutive shootings this week to stand together and unite against acts of violence.

The US has been reeling from a week of gun-fueled violence that saw two black men fatally shot by police on Tuesday and Wednesday, followed by a mass shooting that targeted police officers at a peaceful rally protesting violence against the black community.

"This has been a tough week, first and foremost for the family of those killed, but also for the entire American family," Obama said at the start of a press conference during a NATO summit in Warsaw.

"As painful as this week has been, I firmly believe that America is not as divided as some have suggested," Obama said.

A wave of nationwide grief began on Tuesday, when Alton Sterling, 37, was tackled and shot by police after selling CDs outside a convenience store in Baton Rouge, Louisiana.

The next day, Philando Castile, 32, was fatally shot at a routine traffic stop in suburban Minneapolis, Minnesota. Castile's fiancee recorded the aftermath using Facebook Live as her boyfriend bled profusely while the officer continued pointing his firearm at him.

On Thursday, as demonstrators in Dallas, Texas, came together to mourn Sterling and Castile and show solidarity for the Black Lives Matter movement, a US military veteran opened fire on police who were guarding the march, killing five officers, wounding seven officers and two civilian bystanders.

Police identified the lone gunman as Micah Xavier Johnson, 25, a black military veteran who told officers he was angry about the killing of black men by police officers and wanted to kill police.

Police said they killed Johnson with a bomb carried by a robot into the parking garage where the assailant had taken cover. A search of Johnson's home turned up bomb-making materials, ballistic vests, rifles, ammunition and a personal journal of combat tactics.

Obama described the gunman as "demented" and went on to say that, though Americans felt sorrow, anger and confusion over the shootings, they could unite against the incidents and reject them as part of their collective identity.

"This is not who we want to be as Americans, and that serves as the basis for us wanting to move forward in a constructive and positive way," Obama said.

The US president will make an abbreviated stop in Spain on Sunday before returning to the United States to address issues surrounding the attack and visit Dallas next week. He will meet with King Felipe VI and Prime Minister Mariano Rajoy in Madrid, marking the first visit by a US president to Spain in 15 years.

A stop in Sevilla and a meeting with young people in Madrid were canceled so that Obama can travel home and prepare for his visit to Dallas.

Protests continued late Friday in US cities as people demanded justice for the African American victims of police violence.

Obama said Americans of all backgrounds were outraged about the deaths of the two black men and said he wanted to "start moving on constructive actions that will actually make a difference" in improving race relations in the US.

He said there was not "enormous polarization" in the US and it had not reverted to the situation that existed in the '60s when rioting over segregation tore at the fabric of numerous US cities, resulting in numerous deaths and mass destruction.

Police nevertheless have increased security in cities across the country amid fears of copy-cat attacks.

Thousands of Black Lives Matter marchers disrupted traffic in Atlanta on Friday and demonstrators also descended on New York's Times Square and the Justice Department in Washington. In New Orleans, protesters lay down in a "die in" in front of police headquarters, the Times-Picayune newspaper reported.

Latest news

Alphabet's self-driving car company sues Uber over alleged theft

Alphabet's self-driving car company Waymo said Thursday it was suing Uber and its subsidiary Otto for allegedly stealing its technology and infringing its patents.

US, Mexico take "important steps" even as Trump voices indifference

Top US and Mexican diplomatic and security officials met on Thursday in Mexico City, as President Donald Trump in Washington expressed ambivalence about relations with the United States' southern neighbour.

US Supreme Court's Ginsberg emphasizes value of free press

US Supreme Court Justice Ruth Bader Ginsburg expressed optimism about the political future of the United States despite the polarized and combative political atmosphere that has marked the fledgling presidency of Donald Trump.

Top Trump aide Bannon points to promises kept, media fight

Top White House strategist Steve Bannon said Thursday US President Donald Trump is keeping the promises he made during his campaign on issues from immigration to job creation.

Le Pen promises independent foreign policy, autonomous defence

Marine Le Pen promised Thursday that if elected president of France she would ensure it had a truly independent foreign policy as well as an autonomous capacity for self-defence.

Slovenia for ending lawsuits against Ljubljanska Banka

Croatia is infringing the memorandum of understanding signed with Slovenia in 2013 which they interpret differently, the Slovenian Embassy said on Thursday after a hearing at a Zagreb court in a suit which Croatia's PBZ bank filed against Slovenia's Ljubljanska Banka (LB) and Nova Ljubljanska Bank (NLB) over transferred foreign currency savings.

Marin Pucar appointed as new CEO in Podravka food concern

Marin Pucar is the new Management Board chairman of the Podravka food concern and will take the helm of the company after Zvonimir Mrsic's term expires at midnight on Thursday.

Croatian MEP says Moscow wants to influence in western Balkans

Croatian MEP Ivan Jakovcic said in an interview with the Montenegrin Pobjeda daily on Thursday that Moscow is trying to exploit the political forces in Montenegro and that Russia's meddling in Montenegro's internal affairs was "unacceptable behaviour."

New York Times launches brand campaign for 'The Truth' with Oscars ad

The New York Times is using Sunday's Academy Awards show to launch an advertising drive with an ad spot that capitalizes on President Donald Trump's confrontational relationship with the paper and other mainstream media.

Gambia charges former spy chief with murder of opposition leader

The former head of the Gambian national intelligence agency has been charged with the murder of an opposition youth leader who died in detention last year.

Dutch populist Wilders won't publicly campaign after security fiasco

The Dutch Party for Freedom (PVV) won't make public appearances in support of its election campaign after a security official assigned to protect party founder Geert Wilders was detained by police.

Peace Implementation Council Steering Board calls for defusing tensions in Bosnia

The Steering Board of the Peace Implementation Council in Bosnia and Herzegovina (BiH) met on Thursday, expressing the international community's concern about the situation in the country and calling on local politicians to act rationally to prevent an escalation of the crisis after a motion was submitted to review an International Court of Justice (ICJ) ruling in BiH's case against Serbia for genocide.