The FBI recently released crime statistics that the agency compiled from US cities with a population over 100,000 between January 2017 to June 2017.

Among the data was the number of violent crimes committed in these cities, including murder, rape, robbery, and aggravated assault. We then took these violent crime rates per 10,000 people to rank the most violent city in each state.

However, there are multiple cities, sometimes even whole states — such as Texas — that didn't report its data. There are also some states, such as Wyoming, that don't have cities with more than 100,000 people. Therefore the list is not complete.

It should be noted that there are limits to this type of analysis. The Uniform Crime Report data is voluntarily submitted by police forces, and not every city provides data. Further, crime is a socially and economically complex issue, and just looking at raw crime rates may not give a full picture of a particular city's situation.

One of the most surprising findings was that, despite its reputation, Chicago was not the most violent city in Illinois based on the FBI's violent crime rate.

Check out the rankings below:

Editor's note: This story was originally titled "The most violent city in nearly every US state, according to the FBI." The headline has been changed to reflect that data was reported voluntarily and may be incomplete, as not every major city in each state submitted data.