Ternary AlxGa1−xN films with different Al compositions were synthesized on sapphire and Si substrates by pulsed laser co-ablation of a polycrystalline GaAs target and a metallic Al target in nitrogen plasma generated by electron cyclotron resonance discharge of N2 gas.