N-heterocyclic compounds, such as quinazolinone derivatives, have significant biological activities. Nowadays, as the demand for environmentally benign, sustainable processes increases, the application of compounds from renewable sources, easily separable heterogeneous catalysts and efficient, alternative activation methods is of great importance. In this study, we have developed a convenient, green procedure for the preparation of 3a-methyl-2,3,3a,4-tetrahydropyrrolo[1,2-a]quinazoline-1,5-dione through a double cyclocondensation cascade using anthranilamide and ethyl levulinate. Screening of various heterogeneous Brønsted acid catalysts showed that Amberlyst® 15 is a convenient choice. By applying mechanochemical activation in the preparation of this N-heterotricyclic compound for the first time, it was possible to shorten the necessary time to three hours compared to the 24 h needed under conventional conditions to obtain a high yield of the target product.