Niles is a city in Berrien and Cass counties in the U.S. state of Michigan, near South Bend, Indiana. In 2010, the population was 11,600 according to the 2010 census. It is the larger, by population, of the two principal cities in the Niles-Benton Harbor, Michigan Metropolitan Statistical Area, an area with 156,813 people.
Niles lies on the banks of the St. Joseph River, at the site of the French Fort St. Joseph, first built in 1697 to protect the Jesuit Mission established in 1691. After 1761, it was held by the British and was captured on May 25, 1763, by Native Americans during Pontiac's Rebellion. The British retook the fort but it was not re-garrisoned and served as a trading post. During the American Revolutionary War, the fort was held for a short time by a Spanish force. The occupation of the fort by the four nations of France, Britain, Spain, and the United States has earned Niles the nickname City of Four Flags.
The town was named after Hezekiah Niles, editor of the Niles Register, a Baltimore newspaper. The town of Niles as it exists today was settled in 1827. Between 1820 and 1865, Niles was an integral part of the Underground Railroad, helping slaves escape from as far south as New Orleans through the Heartland, and eventually into Canada.