BAGHDAD — The Iraqi military said on Saturday that it had launched an air attack on a gathering of Islamic State leaders in neighboring Syria, killing about 45 members of the militant group.

Fighter jets were said to have destroyed three houses on Friday that were connected by a trench in the town of Hajin, just across the border in eastern Syria, where the leaders were apparently meeting.

Those killed included high-profile targets such as the Islamic State’s so-called deputy war minister; one of the group’s media gurus; the personal courier of the group’s leader, Abu Bakr al-Baghdadi; and its chief of police, the Iraqi military said in a statement.

The Islamic State, also known as ISIS, ISIL or Daesh, which once occupied a third of Iraq’s territory, has largely been defeated in the country, but it still poses a threat along the border with Syria.