MPs have approved the programme of laws brought forward by Theresa May's minority British government after a late U-turn on abortion funding averted a potential Commons defeat.
The queen's speech was approved by 323 votes to 309, majority 14, following six days of debate.
Chancellor Philip Hammond was required to confirm the government's intention to fund abortions in England for women arriving from Northern Ireland, amid growing pressure from MPs of all parties.
Labour's Stella Creasy had tabled an amendment to the queen's speech calling for "adequate funding" to ensure free access to abortions in England.
She withdrew it following the government's late change in policy.
Mrs May sat in the Commons on the government frontbench as the final result was read out.
A division list analysis shows 313 Tories were joined by nine of the 10 DUP MPs in supporting the queen's speech.
Independent Lady Hermon, who represents the Northern Ireland constituency of North Down, also supported the queen's speech.
There were 257 Labour MPs who voted against it, along with 35 SNP, 12 Liberal Democrats, four Plaid Cymru and Green Party MP Caroline Lucas.
Theresa May, Philip Hammond, Stella Creasy, House of Commons