Chile has elected the far-right wing José Antonio Kast to be its next president, after an election campaign that was dominated by themes of security, immigration and crime.

Kast won decisively with more than 58% of the vote in his third attempt at running for president.

It marks the biggest shift to the right since the end of Chile's military dictatorship in 1990. Kast has openly praised Chile's former right-wing dictator, Augusto Pinochet.

He beat the governing left-wing coalition's candidate, Jeannette Jara, from the Communist Party.

At a gathering of his supporters in the capital Santiago, many draped in Chilean flags, chanting and taking selfies, there was jubilation as the results came through.