AmirPatriot,
To be even more accurate:
Russian designer Fatadin Mukhamedov founded a small design bureau that, among other things, designed an advanced trainer to compete with the MiG-AT and Yak-130, called the M-AT or "Integral". This was made public around 1998.
Shortly there after, the design is seen in Iran as the "Shafagh", in which at least some redesign was considered. There is talk of a 2xJ85 powered variant instead of the original RD-33 (non after-burning) configuration (I believe the only sources is from an edition of Jane's all the World's Aircraft but I could be wrong). We also know a chin-mounted intake (similar to a F-16's) was considered (see attached, courtesy the folks at ACIG).
So clearly, the advanced trainer design made it to Iran and was likely worked on jointly to some degree (original Russian design being tweaked by Iranian engineers to fit their specific needs). Given how small his company was, his chances of winning the trainer contract in Russia were likely always slim, regardless of how good his design was, so he likely accepted a pitch from Iranian aviation folks to come there and continue his work.
In the end, only a wooden mock-up was ever built in Iran.
The "swept wing Shafagh" was in fact a related/but separate design referred to variously as the M-ATF, MMF, or Vityaz. The original patent for this particular design is still out there and refers to it simply as a "Multifunctional Fighter".
https://worldwide.espacenet.com/pub...10816&DB=worldwide.espacenet.com&locale=en_EP
(see page 13-15 for the actual drawings)