Iranian President Mahmoud Ahmadinejad arrived Monday in Pakistan for a brief visit in which the two countries were expected to discuss Afghanistan and a pipeline project opposed by the United States. Iranian President Mahmoud Ahmadinejad greeted and hugged Pakistani officials after getting off the plane in Islamabad, the Pakistani capital. Rifle-toting soldiers flanked a red carpet laid out on the tarmac for the Iranian leader, state television showed. Ahmadinejad is to meet with Pakistani President Pervez Musharraf and Prime Minister Yousaf Raza Gilani during the hours-long stopover on his way to Sri Lanka. A key subject is expected to be the pipeline, which Pakistan and India are considering building to import natural gas from Iran. The pipeline would run 2,615 kilometers from Iran to India through Pakistan and initially carry 60 million cubic meters of gas a day.