Before Eurofighter project, the Spanish government was not happy with the "captive client" policy practiced by Marcel Dassault; they was also not happy with the prior authorization by the US government to be able to use weapons of US origin. So... what if they brazenly decided to reverse engineer the Mirage F1, F-18 and the J79 engine to produce an indigenous fighter?
Here you see the Casa-AFX.

