EN
Electronic structure of Cr, Mn, Fe, and Co transition metal (TM) ions in GaN and AlN was calculated within generalized gradient approximation and GGA+U. The +U term was considered as a free parameter with 0 < U < 5 eV. Comparison with available data for intracenter optical transitions for Fe and Mn shows that good agreement is obtained for values of U smaller than 1 eV.