Izmit (Ismid) is a city in Anatolia that in antiquity was named Nicomedia and is the capital of the province Kocaeli.