By CBS Baltimore Staff

BALTIMORE (WJZ) — Maryland ranked near the middle of the pack among U.S. states in terms of safety amid the COVID-19 pandemic, according to a new study.

WalletHub ranked states and Washington, D.C., on how well they’ve kept the virus under control and on their vaccination efforts. The study looked at positivity rates, hospitalizations, death rates, transmission rates and vaccination rates.

READ MORE: Bowie Shaken After Possible Tornado Uproots Trees & Knocks Out Power

Maryland came in at number 28 on the list, ahead of a number of neighboring states. Pennsylvania came in at 34th, Delaware ranked 47th, D.C. came in at 48 and Virginia took last place at 51.

READ MORE: Several Houses In East Baltimore Will Be Torn Down Over North Avenue Sinkhole, Mayor Says

The study ranked Alaska and Hawaii as the safest states.

To see the full results, click here.

MORE NEWS: 19-Year-Old Man Dies After Being Shot In West Baltimore

Get alerts from WJZ first! Follow WJZ on Facebook and download the app.

CBS Baltimore Staff