Counterterrorism to run after election, president says