It is unclear if Prime Minister Mette Frederiksen can secure a third term, as her party came in first but recorded a poor result. Foreign Minister Rasmussen became a kingmaker ahead of thorny negotiations.