ANKARA (Reuters) - Iran on Friday supported Syria's right to defend itself against aggression from Israel, state TV reported, accusing others of remaining silent over the attacks on Tehran's key regional ally.

"Iran strongly condemns ...(Israel's) attacks on Syria. The international community's silence encourages Israel's aggression. Syria has every right to defend itself," the broadcaster quoted Foreign Ministry spokesman Bahram Qasemi as saying.

Israel said it had attacked nearly all of Iran's military infrastructure in Syria on Thursday after Iranian forces fired rockets at Israeli-held territory for the first time, in the most extensive military exchange ever between the two adversaries.

The confrontation came two days after President Donald Trump withdrew the United States from the 2015 multinational agreement aimed it curbing Iran's nuclear program.

Tehran and its allied Shi'ite Muslim militias back Syrian President Bashar al-Assad.

Since its Islamic Revolution in 1979, Iran has refused to recognize Israel.

(Writing by Parisa Hafezi; editing by John Stonestreet)