Background: Recently, putative pre-miRNAs locations have been identified in the introns of plant genes, raising the question whether such genes can show a dual functionality by having both correct maturation of the host gene pre-mRNA and maturation of the miRNAs from the intron. Here, we demonstrated that such dual functionality is indeed possible, using as host gene the firefly luciferase gene with intron (ffgLUC), and different artificial intronic miRNAs (aimiRNA) placed within the intron of ffgLUC. Results: The miRNAs were based on the structure of the natural miR319a. Luciferase (LUC) activity in planta was used to evaluate a correct splicing of the ffgLUC mRNA. Different target sequences were inserted into the aimiRNA to monitor efficiency of silencing of different target mRNAs. After adjusting the insertion cloning strategy, the ffgLUCaimiR-319a gene showed dual functionality with correct splicing of ffgLUC and efficient silencing of TEOSINTE BRANCHED1/CYCLOIDEA/PROLIFERATING CELL FACTOR1 transcription factor genes targeted in-trans by aimiR-319a or targeting the transgene ffLUC in-cis by an aimiR-LUC. Silencing of endogenous target genes by aimiRNA or amiRNA is efficient both in transient assays and stable transformants. A behave as strong phenotype the PHYTOCHROME B (PHYB) gene was also targeted by ffgLUCaimiR-PHYB. The lack of silencing of the PHYB target was most likely due to an insensitive target site within the PHYB mRNA which can potentially form a double stranded stem structure. Conclusion: The combination of an overexpression construct with an artificial intronic microRNA allows for a simultaneous dual function in plants. The concept therefore adds new options to engineering of plant traits that require multiple gene manipulations.