The United States Naval Academy (also known as USNA, Annapolis, or Navy) is a four-year coeducational federal service academy located in Annapolis, Maryland, United States. Established in 1845 under Secretary of the Navy George Bancroft, it is the second-oldest of the United States' five service academies, and educates officers for commissioning primarily into the United States Navy and United States Marine Corps.