Harvard University has agreed to pay $26.5 million to settle a civil complaint about investments a professor and a former staff member made while working on a federal contract to help privatize Russia’s post-Soviet economy, prosecutors said Wednesday.

The agreement also calls for economics professor Andrei Shleifer and former Harvard project manager Jonathan Hay to each pay up to $2 million.