PESHAWAR - A US drone on Thursday killed two men riding a motorbike in Kurram Agency, officials said, the first such attack in the country under the administration of new American President Donald Trump.

The attack occurred in the Sara Khwa area of Kurram Agency. Requesting anonymity, a local government official described the two men who were killed as "militants" but said their identity could not immediately be confirmed.

A second official confirmed the strike and the casualties. "The drone came from Afghanistan and returned after firing two missiles on the motorbike," he said.

A senior Afghan Taliban commander told AFP on condition of anonymity that one of those killed in the attack was Qari Abdullah, a guard in the Haqqani network while the second, Saqib Ullah, was a commander of the group. Haqqani is separate from but allied with the Taliban.

According to Reuters, a Pakistani government official identified one of the men killed as Qari Abdullah Subari, a senior commander from the Afghan Taliban.

A Pakistani intelligence source said the other man was also a Taliban member named Shakir.

The last US drone attack took place in May 2016, killing the then leader of the Afghan Taliban Mullah Akhtar Mansour as well as his driver in Balochistan.

The very first of the more than 420 attacks occurred in 2004 under the government of President George W Bush, but it was under President Barack Obama that their use increased substantially, before tapering off in his second term. Last year there were only three. Drones have proven extremely controversial with the Pakistani public and rights groups. In 2013, Amnesty International said the US could be guilty of war crimes by carrying out extrajudicial killings.

The strike could be read as the first hint about President Trump's policy toward Pakistan, a country he has spoken about relatively little.

In December Pakistan's foreign office said then president-elect Trump praised Prime Minister Nawaz Sharif as a "terrific guy" and offered support for a "fantastic" country, in an effusive phone call that baffled many.

Trump's aides confirmed the call but gave a more toned-down account, saying the pair had a "productive conversation about how the United States and Pakistan will have a strong working relationship in the future."