Cuba’s parliament will elect Miguel Diaz-Canel as its new president, ending the Castro family’s long rule of nearly 60 years.

The 57-year-old bureaucrat will take Raul Castro’s place as the government works to ensure the survival of one of the world’s last remaining communist states.

Regarded as a loyal and reliable member of the Communist Party, which is designated by the constitution as Cuba’s “superior guiding force of society and the state”, he trained as an electrical engineer and worked his way up the party’s ranks over the last three decades to become the country’s first vice president.

Most Cubans view Miguel Diaz-Canel as an uncharismatic figure who until recently maintained an exceptionally low public profile (ALEJANDRO ERNESTO/AFP/Getty Images) (Getty)

Mr Castro, who took over from his brother, Fidel, in 2006, will nonetheless retain considerable power after he retires, as he will remain head of the Communist Party until a congress in 2021.

Mr Diaz-Canel, the sole candidate for president, had his position ratified by Members of the National Assembly. The legislative body approves all executive branch proposals by margins of 95 per cent or higher.

An uncharismatic figure who until recently maintained an exceptionally low public profile, Mr Diaz-Canel’s image began to change this year as state media began focusing on his public appearances.

In comments to the press last month, he promised to make Cuba’s government more responsive to its people.

Raul Castro (left) will likely hand over the reigns to his right hand man, Miguel Diaz-Canel, when he retires as Cuba’s president (JORGE BELTRAN/AFP/Getty Images)

“We’re building a relationship between the government and the people here,” he said, after casting a ballot for members of the National Assembly. “The lives of those who will be elected have to be focused on relating to the people, listening to the people, investigating their problems and encouraging debate.”

Cubans hope Mr Diaz-Canel’s government will be able to resurrect one of the world’s last Soviet-style centrally planned economies, which has failed to improve under limited market reforms implemented by Mr Castro.

Trump says a America has 'rejected the Cuban people's oppressors'

He will also inherit the challenge of managing Cuba’s relationship with the United States, which has declined after Donald Trump was elected US president.

Washington recently reduced staffing at its embassy in Havana to its lowest level since the 1970s, due to a spate of unexplained illnesses among its diplomats.

The US-Cuba detente, which saw improved relations under former US president Barack Obama, was a major highlight of Mr Castro’s presidency.

He also allowed Cubans to own property and travel more freely. Expanding internet access in the country, he also allowed people to won mobile phones, although his government continued to limit public dissent.

In an attempt to reinvigorate the economy, he encouraged the creation of small private businesses and encouraged greater foreign investment.

However, he failed to implement most of his planned reforms, including key ones such as the unification of Cuba’s dual currency system.

The Cuban peso (CUP) and the Cuban convertible peso (CUC) are both legal tender on the island, though neither is exchangeable in foreign markets.

Pictures of everyday life in Cuba Show all 20 1 /20 Pictures of everyday life in Cuba Pictures of everyday life in Cuba A man rides his modified bicycle past a vintage American car in Havana Getty Images Pictures of everyday life in Cuba A taxi sits parked by Ancon Beach waiting for returning bathers in Trinidad Getty Images Pictures of everyday life in Cuba Afrocuban carnival group "Los componedores de batea" performing in the streets of La Habana Vieja Rex Pictures of everyday life in Cuba Pastel colours for an ice-cream place and a vintage American car in Cienfuegos after sunset Rex Pictures of everyday life in Cuba A man on the phone in a bookshop in Old Havana (Habana Vieja) selling books and displaying propaganda poster of the Cuban Revolution Rex Pictures of everyday life in Cuba Street Musicians in Santiago De Cuba Rex Pictures of everyday life in Cuba A man works to repair his classic American car after it broke down along the Prado, a wide avenue that runs from Parque Central to the Malecon seafront highway, in Havana Getty Images Pictures of everyday life in Cuba Members of the 'Ladies in White,' a group founded by the partners and relatives of jailed dissidents that regularly protests against the Cuban government, demonstrate on the streets of Havana Getty Images Pictures of everyday life in Cuba Street vegetables vendor in Havana Getty Images Pictures of everyday life in Cuba The sun setting through the palm trees and creates long shadows on the pool deck at this resort in Cuba Varadero Rex Pictures of everyday life in Cuba General view of a street in Havana Getty Images Pictures of everyday life in Cuba A girls plays on a street in Havana Getty Images Pictures of everyday life in Cuba Girls walk past graffiti art along the Paseo de Marti, the wide boulevard that runs through the heart of the historic Old Havana neighborhood in Havana Getty Images Pictures of everyday life in Cuba A woman smokes her Havana cigar Getty Images Pictures of everyday life in Cuba A man harvests tobacco leaves for drying at a tobacco drying house on a co-op plantation in Pinar del Rio Getty Images Pictures of everyday life in Cuba Men play chess on a street in Havana Getty Images Pictures of everyday life in Cuba Locals take part in a gay parade in Havana Getty Images Pictures of everyday life in Cuba Scene of the Memories Paraiso Azul resort in Santa Maria Key Getty Images Pictures of everyday life in Cuba Beach on the Bay of Pigs, Zapata Peninsula Pictures of everyday life in Cuba Divers swimming above coral reef in Caribbean Sea Rex

Tied to the dollar the CUC is pegged to the dollar and worth 25 times as much as the CUP. The peso is used to pay most wages and buy local goods, while the CUC is used in the tourism industry, foreign trade and for luxury goods.

For more than two decades, two currencies have legally circulated in Cuba at multiple exchange rates, distorting the economy.

The task of linking them will now fall to Mr Diaz-Canel, who has the full force of the state behind him.