On October 10.1845 ; In Annapolis, Maryland, the Naval School (later renamed the United States Naval Academy) opens with 50 midshipman students and seven professors.