Barbados has elected its first-ever president to replace Queen Elizabeth II as head of state in a decisive step toward shedding the Caribbean island's colonial past.

Sandra Mason was elected late on Wednesday by a two-thirds vote of a joint session of the country's House of Assembly and Senate, a milestone, the government said in a statement, on its "road to republic."

A former British colony that gained independence in 1966, the nation of just under 300,000 had long maintained ties with the monarchy. But calls for full sovereignty and homegrown leadership have risen in recent years.

Mason, 72, will be sworn in on Nov. 30, the country's 55th anniversary of independence from Britain. A former jurist who has been governor-general of the island since 2018, she was also the first woman to serve on the Barbados Court of Appeals.

Barbados Prime Minister Mia Mottley called the election of a president 鈥渁 seminal moment鈥 in the country鈥檚 journey.

"We have just elected from among us a woman who is uniquely and passionately Barbadian, does not pretend to be anything else (and) reflects the values of who we are," Mottley said after Mason's election.

Wazim Mowla of the Atlantic Council think tank told Reuters the election could benefit Barbados both at home and abroad.

The move makes Barbados, a small developing country, a more legitimate player in global politics, Mowla said, but could also serve as a "unifying and nationalistic move" that may benefit its current leadership at home.

"Other Caribbean leaders and their citizens will likely praise the move, but I don鈥檛 expect others to follow suit," Mowla added. "This move will always be considered only if it is in the best interest of each country."

Mottley said the country's decision to become a republic was not a condemnation of its British past.

鈥淲e look forward to continuing the relationship with the British monarch," she said.