The synthesis of a series of compounds indolo[4,3-fg]quinazoline related to ergoline (indolo[4,3-fg]quinoline) is reported. The key step of the synthetic sequence is the ring cleavage of the ketone IV. The stereochemistry of the chiral centers is established by the chirality of dihydrolysergicacid I.