The largest bequest in American history prior to Carnegie 's time was from Johns Hopkins , a Baltimore merchant , who left $ 7 million to found the eponymous university and hospital in 1873 -- after he died .