At the first meetings of the Assembly after the election, MLAs will sign the Roll of Members, elect a Speaker to chair meetings and appoint the Executive Committee to govern Northern Ireland.

The positions of First Minister and deputy First Minister will go to the 2 largest parties in the Assembly, one unionist and one nationalist.

The position of Justice Minister is filled by a cross-community vote. After the Justice Minister has been elected, the rest of the Ministers are appointed using a mathematical formula, called 'd'Hondt', which ensures that these important positions are filled fairly, based on the wishes of the people who voted in the election.

Watch this animation to find out how d'Hondt works, and how the Assembly and Executive work together to make laws and decisions which affect all of us in Northern Ireland.

The explanation of d'Hondt is based on what happened after the last election in 2011, when 5 political parties won seats on the Executive Committee based on the election results below:

2011 Assembly Election Results
DUP 38 MLAs
SF 29 MLAs
UUP 16 MLAs
SDLP 14 MLAs
Alliance Party 8 MLAs
Green Party 1 MLA
TUV 1 MLA
Independent 2 MLAs