TEXAS  — Where you live in the U.S. can affect your health, quality of life, and even your life expectancy.

Contributing to a U.S. city’s overall health are things like access to health care, availability of nutritious food and recreational facilities. WalletHub on Monday published the findings of a study that looked at more than 180 of the most populous U.S. cities to determine which of them prioritize the health of their residents.

On the whole, Texas cities didn’t fare too well.

Ranking dead last, at No. 182, was Brownsville. Laredo came in at No. 173 and Corpus Christi at 173. Amarillo ranked a little higher at 167, as did Garland, at 162.

The highest ranking city on the list is Austin at No. 14. Plano followed Austin at No. 43, San Antonio came in at No. 99, Dallas at No. 103, and Fort Worth at 117.

The highest ranking city in the U.S. is San Francisco, Calif.

The study used 43 key indicators of good health, and the data set, WalletHub said, ranged “from the cost of a medical visit to fruit and vegetable consumption to the percentage of residents who are fully vaccinated.”

Source: WalletHub

Some of the categories looked at include cost of a medical visit, rate of premature death, mental health counselors per capita, healthful restaurants per capita, percentage of physically active adults and dietitians and nutritionists per capita.