Ten Maryland hospitals received an A grade in hospital safety, according to new ratings released by the Leapfrog Group. This time around, no Maryland hospitals got an F, but five were given a D, 14 got a C and 11 received B grades.

The nonprofit Leapfrog Group focused its ratings entirely on errors, accidents, injuries and infections. The hospital safety grades are released by the organization twice a year, in the spring and in the fall. Of the more than 2,600 hospitals graded in the country, the ratings showed that 32 percent earned an A grade, unchanged from the last round of rankings in fall 2018. Maryland, on the other hand, saw improvement; the spring rankings indicated 25 percent of the state's hospitals earned As, up from 20 percent in the fall 2018 list.

Leapfrog began including Maryland in its rankings in 2017. Before that, the nonprofit watchdog — which has been compiling its rankings since 2012 —was unable to obtain data at a national level because of a federal waiver that exempted Maryland from reporting key safety metrics. Initially, Maryland had one hospital with an F in fall 2017, and a different hospital that received the lone F in spring 2018. Since fall 2018, there have been zero Maryland hospitals with F scores, and grades across the state have improved overall.

For the spring 2019 hospital safety grades, 10 Maryland hospitals received an A — up from eight in fall 2018. The number of Ds decreased from seven to five. Other grades did not change. Oregon, Virginia, Maine, Massachusetts and Utah had the highest percentage of hospitals that received an A grade in the spring rankings. Four states (Wyoming, Arkansas, Delaware, North Dakota) and the District of Columbia did not have a single hospital that received an A grade.

Here are the grades Maryland hospitals were given by the Leapfrog Group: