Office formerly having jurisdiction over naval affairs