Militants seized Iraq's second city of Mosul, the surrounding Nineveh province and parts of Kirkuk on Tuesday, causing thousands of people to flee as Prime Minister Nuri al-Maliki called for a state of emergency.