The exocyclic analogue of the indole alkaloid isolated from the marine sponge Halichondria melanodocia has been prepared via olefination of a phosphonoester derived from 3-(2-bromoacyl)indole. The formation of an unexpected indolylazepine is also discussed.