A convenient synthesis of 1H-pyrrolo[3,2-c]quinoline-6,9-diones and 11H-indolo[3,2-c]quinoline-1,4-diones derivatives.