PHOENIX — The city of Gilbert ranked among the top 5 for safety, while Tucson was the lowest Arizona city on the list.

In a new study by WalletHub, Gilbert ranked 4th and Chandler ranked 9th across the included cities for safety. Phoenix and Tucson ranked below the top 100 cities, coming in at 118 and 161.

Take a look at how Arizona cities ranked in the U.S. study:

4. Gilbert, Arizona

9. Chandler, Arizona

12. Scottsdale, Arizona

15. Peoria, Arizona

34. Mesa, Arizona

45. Tempe, Arizona

55. Glendale, Arizona

118. Phoenix, Arizona

161. Tucson, Arizona

WalletHub compared over 180 cities using 41 indicators of safety, like home and community safety, natural disaster risk and financial safety. Six Arizona cities were named in the top 50 safest cities in the U.S.