Spiro[pyrido[3,2,pyrimido [4,5-b] Reaction of 5,6-dihydro-4H-pyrrolo[3,2,1-ij]quinoline-1,2-dione (1) with two equivalents of some 6-aminouracils (or 6-amino-2-thiouracil) generates spirocyclic tetrahydrobenzo[if]quinolizines (7). The one-pot, three-component reaction of amido ketone (1) with 6-aminouracil (or 6-amino-2-thiouracil) and a cyclic six-membered 1,3-diketone produces spirocyclic tetrahydropyrrolo[3,2,1-ij]quinolinones (15).