President Barack Obama and Cuban President Raul Castro’s handshake at Nelson Mandela’s memorial service was unplanned, the White House has said. 

White House aide Ben Rhodes told reporters the two exchanged nothing more substantive than a greeting.

The Cuban government said the gesture may show the “beginning of the end of the US aggressions”.

The US broke off diplomatic ties with Cuba in 1961 as Fidel Castro aligned with the Soviet Union in the Cold War.

And on Tuesday after the handshake, a White House official said the Obama administration still had grave concerns about human rights violations in Cuba, Reuters reported.

Republicans on Capitol Hill were quick to condemn the gesture, with one Republican congresswoman chiding the move during an unrelated hearing on Tuesday. 

The last time a US president shook a Cuban leader’s hand was in 2000, when President Bill Clinton greeted President Fidel Castro, Raul’s brother and predecessor, at a UN General Assembly meeting.

Under President Obama, the US has eased restrictions on Cuban-Americans travelling to the island and on remittances between family members across the two countries.

But the gradual thaw has been disrupted by the detention in Cuba of a US contractor.

Alan Gross, 64, was arrested four years ago while on a project to provide internet access to Cuba’s small Jewish community.

On the fourth anniversary of his arrest, he wrote to Mr Obama to say he feared the US government had “abandoned” him, and asked the US president to intervene personally to help win his release.