Theresa May has secured a deal with the Democratic Unionist Party (DUP) after shock election losses saw the Conservatives fail to win a Commons majority.
The deal comes after weeks of negotiations and will secure the DUP's backing on confidence and supply votes, preventing the weakened Conservatives from being brought down by motions of no confidence.
However the agreement has sparked a furious backlash over the DUP’s record on issues including LGBTQ+ rights and abortion, and how the arrangement could jeopardise Northern Ireland's peace process.
Here are some of the most controversial positions held by the party:
Ian Paisley Jr, son of the party’s founder Ian Paisley, has previously called homosexuality “immoral, offensive and obnoxious” and said he was “repulsed” by gays and lesbians.
The party once championed a campaign called “Save Ulster from Sodomy”.
Former DUP health minister Jim Wells told a South Down hustings in 2015: “The gay lobby is insatiable, they don’t know when enough is enough.”
He also said children who were raised in a homosexual relationship were more likely to be abused or neglected. He later apologised for the comments.
DUP politician Trevor Clarke last year said he thought only gay people could contract AIDS or HIV, but has since admitted he "did not understand the stigma attached to it" and has campaigned for greater awareness and prevention.
The party staunchly opposes same-sex marriage, believing in what they call the “traditional” definition of the union, and has vetoed several attempts to pass new legislation.
Speaking of the pro-marriage equality movement, party leader Arlene Foster said in 2016: “They are not going to influence me by sending me abuse – in fact, they are going to send me in the opposite direction and people need to reflect on that.”
She added: “I could not care less what people get up to in terms of their sexuality, that’s not a matter for me – when it becomes a matter for me is when people try to redefine marriage.”
The DUP has long opposed abortion and any attempts to liberalise the law. Ms Foster last year vowed to prevent terminations being made available in Northern Ireland.
“I would not want abortion to be as freely available here as it is in England and don’t support the extension of the 1967 act,” she told The Guardian in 2016.
The party once appointed climate change denier Sammy Wilson as its environment minister.
Mr Wilson said it was a “con” to suggest humans had changed weather patterns.
He also said in 2014: “We are already paying through the nose for electricity because we go down the route of the dearest electricity possible through renewable energy” and are “putting our agricultural industry in jeopardy because there is no greater producer of greenhouse gases than cows.”
UK news in pictures
UK news in pictures
1/20 26 June 2017
A festival-goer sleeps outside their tent at the end of the Glastonbury Festival of Music and Performing Arts on Worthy Farm near the village of Pilton in Somerset, South West England
2/20 26 June 2017
Canadian Captain Megan Couto (C) leading out troops of the Second Battalion, Princess Patricia's Canadian Light Infantry from Wellington Barracks heading for the Changing of the Guard ceremony at Buckingham Palace in central London. Media reports state that Megan Couto, will be at the head of some 40 Canadian soldiers along with the Royal Canadian Artillery Band at the Changing of the Guard at Buckingham Palace becoming the first female soldier in history to become Captain of the Guard. Canadian soldiers are serving as the Queen's Guard as sentries at Buckingham Palace, St. James's Palace, the Tower of London and Windsor Castle until 03 July 2017. Queen Elizabeth II invited Canada to send troops take part in the ceremonial duties in 2017 marking 150 years since Canadian Confederation
3/20 26 June 2017
Residents leave their home on the Taplow Block on the Chalcots Estate on June 26, 2017 in London, England. Residents of the Chalcots Estate have been urged to leave their homes due to fire safety fears in the wake of the Grenfell Tower tragedy. Four of the five Chalcots Estate towers in Camden, North London, are being evacuated after they were found to have similar cladding to that on Grenfell, attributed to contributing to the rapid spread of the blaze last week that killed at least 79 people
4/20 25 June 2017
Police officers on Romford Road in Forest Gate, east London, as people protest over the death of Edir Frederico Da Costa, who died on June 21 six days after he was stopped in a car by Metropolitan Police officers in Woodcocks, Beckton, in Newham, east London
5/20 24 June 2017
Britain's opposition Labour Party leader Jeremy Corbyn addresses revellers from the Pyramid Stage at Worthy Farm in Somerset during the Glastonbury Festival
6/20 23 June 2017
British Prime Minister Theresa May addresses a news conference at the EU summit in Brussels, Belgium, June 23, 2017
7/20 22 June 2017
Cosplay fans (L-R) George Massingham, Abbey Forbes and Karolina Goralik travel by tube dressed in Harry Potter themed costumes, after a visit to one the literary franchise's movie filming locations at Leadenhall Market in London, Britain
8/20 22 June 2017
Racegoers cheer on their horse on Ladies Day at the Royal Ascot horse racing meet, in Ascot, west of London
9/20 21 June 2017
A reveller walks among the tipi tents at the Glastonbury Festival of Music and Performing Arts on Worthy Farm near the village of Pilton in Somerset, South West England
10/20 20 June 2017
A police officer lays some flowers passed over by a member of the public, close to Finsbury Park Mosque in north London, after one man died and eight people were taken to hospital and a person arrested after a rental van struck pedestrian
The Borough Market bell is seen in Borough Market in central London following its re-opening after the June 3 terror attack
Two women embrace in Borough Market, which officially re-opens today following the recent attack, in central London
Mayor of London Sadiq Khan attends the re-opening of Borough market in central London following the June 3 terror attack
People walk through Borough Market in central London following its re-opening after the June 3 terror attack
News Corp CEO Rupert Murdoch, with one of his daughters, visit Borough Market, which officially re-opened today following the recent attack
A woman reacts in front of a wall of messages in Borough Market, which officially re-opened today following the recent attack, in central London
Vivenne Westwood walks the runway at the Vivenne Westwood show during the London Fashion Week Men's June 2017 collections
Millwall fan and London Bridge hero Roy Larner on 'Good Morning Britain'
Richard Arnold, Roy Larner, Piers Morgan and Susanna Reid on 'Good Morning Britain'
20/20 11 June 2017
England players celebrate after defeating Venezuela 1-0 to win the final of the FIFA U-20 World Cup Korea 2017 at Suwon World Cup Stadium in Suwon, South Korea
Evolution and creationism
The party counts a number of creationists among its senior members.
DUP assembly member for West Tyrone, Thomas Buchanan, last year endorsed an event promoting creationism to be “taught in every school”.
The event included presenting “the biblical case for the sound teaching of children” that will “offer helpful practical advice on how to counter evolutionary teaching”.
DUP politician Edwin Poots has expressed his views that the planet is a “young earth” created just 4,000 years ago.
“You’re telling me that cosmic balls of dust gathered and there was an explosion. We’ve had lots of explosions in Northern Ireland and I’ve never seen anything come out of that that was good,” he told the Radio Times.
Ms Foster was embroiled in a sexism scandal when she described Sinn Fein’s leader in Northern ireland, Michelle O’Neil, as “blonde.”
“I don’t want to be sexist because I can’t...” she told the Sunday Independent.
“Michelle is very attractive. She presents herself very well and she is – you know – her appearance is always very ‘the same’.
“You never see her without her make-up. You never see her without her hair [looking] perfect.”
The DUP was the only party in the Stormont power executive to campaign for leave.
However the party want to avoid a hard border with Ireland and has spoken against a “hard Brexit”.
Ms Foster said: “No-one wants to see a ‘hard’ Brexit, what we want to see is a workable plan to leave the European Union, and that’s what the national vote was about – therefore we need to get on with that.
“However, we need to do it in a way that respects the specific circumstances of Northern Ireland, and, of course, our shared history and geography with the Republic of Ireland.”
Renewable energy scheme
As environment minister, Ms Foster introduced a poorly-executed renewable energy scheme known as “cash for ash” that could result in the taxpayer footing a £490m bill.Reuse content