The EU and Cuba have signed a deal to normalise ties that had been blocked for decades by human rights concerns under revolutionary icon Fidel Castro.
Cuba had been the only Latin American country that did not have a so-called "dialogue and cooperation" deal with the European Union covering issues such as trade, human rights and migration.
But EU ministers last week agreed to drop a policy in place since 1996 which stated that Cuba first had to improve its human rights standards before getting closer links with the bloc.
The new agreement was signed by Cuban Foreign Minister Bruno Rodriguez Parrilla, EU foreign affairs chief Federica Mogherini and representatives from the 28 EU member states at a Brussels ceremony capping years of difficult negotiations.
"Economic links with Europe will continue to be a priority for Cuba as we build a socialist economy," Mr Parrilla said.
Castro died last month after more than 50 years ruling Cuba.
In 2003, the EU had imposed sanctions on Cuba and suspended cooperation over a crackdown on journalists and activists and it took until 2008 to get talks going again.
Mr Parrilla said the agreement "demonstrates that with good will and respect it is possible to make progress and resolve differences".
He recalled a speech in 2003 in which Castro had hailed the historical importance of the EU as a counterweight to the United States which imposed a damaging trade embargo and other sanctions on Cuba after it sided with Russia in the Cold War.
"The sovereignty and dignity of a people cannot be up for negotiation with anyone," he said.