IF this General Election ends in a hung parliament, it could be a matter of days or weeks before the final form of the next government is settled.
If no party emerges with an overall majority, the incumbent Conservative Government would stay in office until Theresa May goes to the Queen to tender her resignation and that of her administration.
At that point, the leader of the largest opposition party may be invited to form a government either as a minority or in coalition with another party or parties.
In 2010, Gordon Brown held onto the premiership for six days as frantic negotiations took place, resigning only when it became clear that the Conservatives and Liberal Democrats had reached agreement on a viable coalition.
And it is highly likely that Mrs May too would hold back on any resignation until she has had time to test whether she has the support to attempt to continue in office.
With 650 MPs in Parliament, 326 seats are needed for an absolute majority in the House of Commons.
But in practice, a working majority is likely to require just 323 MPs, as the Speaker does not vote and Sinn Fein has so far declined to take up its seats.
Depending on the number of Tory MPs, Mrs May might be able to pass this crucial figure with the support of Northern Irish unionist parties or might need to look further afield to possible arrangements with other parties like the Liberal Democrats.
Meanwhile, Jeremy Corbyn's Labour could be expected to explore the potential for co-operation with other "progressive" parties like the Lib Dems, Scottish National Party, Plaid Cymru, Greens or the SDLP.
In sharp contrast to 2010, a whole series of parties have already forsworn any involvement in a formal coalition, apparently making this outcome unlikely.
Labour has said it will not seek a coalition, instead seeking to govern as a minority government if possible. And Liberal Democrat leader Tim Farron pledged during the election not to go into coalition with either the Tories or Labour.
But other arrangements short of a coalition could involve a "supply and confidence" agreement under which smaller parties would pledge to back the Government's budget and programme without taking up ministerial positions in the new administration.
Or, either the Conservatives or Labour could attempt to govern as a minority administration, seeking to win support in the Commons for their programme on a vote-by-vote basis.
The first milestone for Mrs May would be June 13, when the House of Commons is due to return after the election. But a far more significant deadline is the Queen's Speech on June 19, when the sovereign will read out the legislative programme of the new government.
Any Prime Minister would be unlikely to ask the Queen to present a programme if they did not believe it would secure the support of a majority of MPs in the Commons.
The Cabinet Manual drawn up in 2010 following the inconclusive result of that year's election states that the incumbent government is "entitled to wait until the new Parliament has met to see if it can command the confidence of the House of Commons, but is expected to resign if it becomes clear that it is unlikely to be able to command that confidence and there is a clear alternative".
Without a clear alternative, the parties would be expected to hold discussions to establish whether any of them is able to form an administration capable of commanding the confidence of the House of Commons. The Prime Minister can authorise the civil service to provide support in negotiations, as they did in 2010.
The Queen would not expect to become involved in any negotiations, but the Palace would be kept informed via representatives of the political parties or the Cabinet Secretary.
If no viable administration can be constructed which would be capable of getting its budget and its programme through Parliament, then voters could be asked to return to the polling stations for the third general election in as many years.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here