The Sunni militants also gained entry Wednesday to the Turkish consulate in Mosul and held captive 48 people, including diplomats, police, consulate employees and three children, according to an official in the office of Turkish Prime Minister Recep Tayyip Erdogan.