The chemically labile natural prostacyclin (PGI2) can be stabilized by introduction of an electron withdrawing 5-substituent like cyano, formyl, carboxy or alkoxycarbonyl resulting e.g. in 5-cyano-16-methyl-prostacyclin (nileprost) , a potent ulcer healing agent.