Treatment of an alpha,beta-unsaturated ketimine with an alpha,beta-unsaturated carbonyl compound in the presence of a rhenium complex, Re2(CO)10, gave a cyclopentadienyl-rhenium complex. This reaction proceeds via rhenium-catalyzed C-H bond activation of an olefinic C-H bond, insertion of an alpha,beta-unsaturated carbonyl compound into a Re-C bond of the alkenylrhenium intermediate, intramolecular nucleophilic cyclization, reductive elimination, elimination of aniline to give a cyclopentadiene derivative, followed by the formation of a cyclopentadienyl-rhenium complex from the cyclopentadiene derivative and the rhenium complex.