Bancroft designed and developed the Naval Academy; he received all the appropriations for which he asked. Congress had never been willing to establish a naval academy, but Bancroft studied the law to assess the powers of the Secretary of the Navy. He found that he could order "a place where midshipmen should wait for orders." He could also direct instructors to give lessons to them at sea, and by law, instructors could follow the midshipmen to the place of their common residence on shore. The appropriation of the year for the naval service met the expense, and the Secretary of War ceded an abandoned military post to the navy.