ANNAPOLIS, Md. (AP) — U.S. News & World Report has ranked the U.S. Naval Academy as the best public liberal arts college in the country for the second consecutive year.

The Annapolis school and its rival, the U.S. Military Academy, shared the top spot last year. This year, the military academy took the No. 2 spot.

READ MORE: Maryland Natural Resources Police Seek Boat Operator Who Fled Magothy River Collision Site

Meanwhile, St. Mary’s College of Maryland came in at No. 5 on the same list, sharing the spot with New College of Florida in Sarasota, Fla.

READ MORE: SLIDESHOW: AVAM's Fourth Of July Pet Parade

Among all liberal arts colleges in the country, the Naval Academy came in at No. 14.

The rankings released Wednesday are based on a range of indicators, including a school’s academic reputation, student performance and financial resources.

MORE NEWS: Maryland Weather: Warm & Dry Fourth Of July Forecast

(Copyright 2012 by The Associated Press. All Rights Reserved.)