Palladium-catalyzed cyclization of imines has been developed to construct the extremely rare 3<i>H</i>-pyrrolo[2,3-<i>c</i>]quinoline ring system for diversity oriented first total synthesis of antimalarial marine natural product Aplidiopsamine A as well as synthesis of Marinoquinoline A and potential natural product hybrid NCLite-M1