He was responsible for building the Saint Petersburg–Moscow Railway and for restoring the Winter Palace after the 1837 fire. It was rumored that Nicholas I promoted his career because Kleinmichel adopted the Emperor's illegitimate children as his own. His first wife divorced him, citing his sexual dysfunction.