Poland's incumbent President Andrzej Duda has narrowly beaten challenger Rafal Trzaskowski in Sunday's presidential vote.
The National Electoral Commission said Mr Duda had won 51.2% of the votes.It is Poland's slimmest presidential election victory since the end of communism in 1989.
One of the major issues of the election was the future of the country's strained relations with the European Union.
Mr Duda is a social conservative allied with the government led by the nationalist Law and Justice (PiS) party, while Mr Trzaskowski is the socially liberal mayor of Warsaw.
Mr Duda's win is expected to lead to further controversial reforms to the judiciary and continued opposition to abortion and gay rights.
During the campaign Mr Duda came under heavy criticism after he said LGBT rights were an "ideology" more destructive than communism.