Finally on 18 July, under pressure from the army to resolve the power struggle, Sharif and Khan resigned as Prime Minister and President respectively. Elections for the National Assembly were called for 6 October with elections for the regional assemblies set to follow shortly afterwards.[1][18]