On 9 January 2017, McGuinness resigned as deputy First Minister. Under the terms of the power-sharing agreement that created what is now the Executive Office, his resignation has also resulted in Foster being removed from office, until Sinn Féin nominates a new deputy First Minister; the party stated that it will not replace McGuinness. No nomination was made before 16 January, resulting in the collapse of the Executive. James Brokenshire, the Secretary of State for Northern Ireland, assumed the powers of the Executive and called for a snap election scheduled for 2 March.