HOUSTON – A Houston law firm compiled statistics showing the most dangerous and safest cities in Texas.

The Darrow Law Firm looked at three key factors when it made the list, based on Texas cities with populations over 100,000.

Crime

Police presence

Community socioeconomic factors

The city of Odessa tops the list as the most dangerous Texas city with Houston coming in at No. 4, according to the Darrow Law Firm. Thirty-four cities are listed.

"It may be no surprise that of all the Texas cities, Houston has both the highest raw number and rate of violent crime. However, Houston does not have the highest murder rate - which belongs to nearby Beaumont - and is in the bottom third for rate of rape - top spot here goes to Amarillo by a substantial margin," according to the Darrow Law Firm.

Odessa

Corpus Christi

Beaumont

Houston

Amarillo

Brownsville

Lubbock

Killeen

San Antonio

Dallas

Pasadena was ranked No. 14 and Pearland at No. 31.

See the full list here.

The map below shows cities and their violent crime rates. The larger the circle, the higher the violent crime rate.

Another chart shows a breakdown of violent crime across the state. Houston tops the list along with Odessa, Beaumont and Lubbock.

Yellow= Aggravated assault per 100k

Purple= Robbery per 100k

Green=Rape per 100k

Orange=Murder, homicide per 100k

Violent Crime Rates in Texas | FindTheHome

Vehicle Theft Rates in Texas | FindTheHome

Robbery Rates in Texas | FindTheHome

Aggravated Assault Rates in Texas | FindTheHome

Property Theft Rates in Texas | FindTheHome

Rape Rates in Texas | FindTheHome

Robbery Rates in Texas | FindTheHome

Violent Crime Rates in Texas | FindTheHome

Homicide Deaths in Texas | FindTheData