Kyustendil is also known in military history for the Battle of Velbazhd. In Ottoman times the city was the Ottoman military capital in Europe, and during the First World War—the Bulgarian military capital.