British Prime Minister Theresa May on 30 June 2017 narrowly won the confidence vote in the parliament, winning her first major test as the Prime Minister of a minority government in the United Kingdom (UK).
With this, May was finally confirmed as the British Prime Minister three weeks after the election, after winning the vote on her legislative programme known as the Queen's Speech.
With support from the small ultra-conservative Democratic Unionist Party (DUP), May's legislative programme was approved by 323 votes in favour and 309 against in the 650-seat parliament.
In order make her minority government win the vote, May struck a deal with the DUP and its 10 MPs at Westminster. However, in return, she had to agree for funding a package worth a billion pounds for DUP's projects in Northern Ireland.
The vote on the Queen's Speech is considered as a vote of confidence on the Government as a whole which means that May would have had to quit if she lost. Rejection of the legislative plan would have been a major blow to May's already weakened administration.
Opposition Parties stand on May's legislative programme
The main opposition Labour party made a number of attempts to test May's power in the House of Commons. They put forward two amendments, but lost by just 26 votes.
May's government faced potential defeat in one amendment put forward by Labour MP Stella Creasy over access to abortions for women from Northern Ireland. Creasy wanted MPs to vote on giving women the right to abortions on the British mainland, funded by the National Health Service (NHS).
Abortion is banned in Northern Ireland unless a woman's life or mental health is in danger, and hundreds of women travel to other parts of the UK to terminate pregnancies. They have to pay around USD 1200 for an abortion.
Another amendment to the Queen's Speech was made by Labour MP Chuka Umunna, who called for continued single market and customs union membership of the European Union after Brexit, but it was too defeated by a vote of 322 votes to 101.