These buildings became the Royal Naval College in 1873 , and they remained an establishment for military education until 1998 when they passed into the hands of the Greenwich Foundation .
These buildings became the a military college in 1873 , which lasted until 1998 .