London CNN  — 

British Prime Minister Theresa May remained defiant after her party lost its majority in the general election, vowing to stay in post and form a new government.

But she needed to turn to the Democratic Unionist Party of Northern Ireland to give her the number of seats required after her Conservative Party suffered a big setback at the polls – and weakened her own position on Brexit.