ISLAMABAD (AP) — Pakistan prepared to hand over a captured Indian pilot on Friday while blistering cross-border attacks across the disputed Himalayan region of Kashmir continued for a fourth straight day, even as the two nuclear-armed neighbors seek to defuse their most serious confrontation in two decades.Tens of thousands of Indian and Pakistani soldiers face off along the Kashmir boundary known as the Line of Control, in one of the world’s most volatile regions.On the Indian side of Pakistan’s border crossing at Wagah, turbaned Indian policemen lined the road on Friday in expectations of the pilot’s handover. A group of cheering Indians waved their country’s national flag and held up a huge garland of flowers to welcome him back.Tensions have been running high since Indian aircraft crossed into Pakistan on Tuesday carrying out what India called a pre-emptive strike against militants blamed for a Feb. 14 suicide bombing in Indian-controlled Kashmir that killed 40 Indian troops. Pakistan retaliated, shooting down two Indian aircraft Wednesday and capturing a pilot.Since the escalation, world leaders have scrambled to head off an all-out war on the Asian subcontinent. President Donald trump in Hanoi on Thursday said he had been involved in seeking to de-escalate the conflict.On Friday, Adel al-Jubeir, Saudi Arabia’s minister of state for foreign affairs, is expected in Islamabad with an urgent message from the kingdom’s powerful Crown Prince Mohammed bin Salman.Pakistan Prime Minister Imran Khan told lawmakers on Thursday, “We are releasing the Indian pilot as a goodwill gesture tomorrow.”But India made it clear that the latest escalation has changed its strategy and that going forward, it will strike, including inside Pakistan, if they get information of an attack in the planning. Indian Prime Minister Narendra Modi earlier Thursday warned “India’s enemies are conspiring to create instability in the country through terror attacks.”Khan also said he had feared Wednesday night that India might launch a missile attack, but the situation was later defused. He did not elaborate.”Pakistan wants peace, but it should not be treated as our weakness,” Khan said. “The region will prosper if there is peace and stability. It is good for both sides.”Meanwhile, Pakistan’s air space remained closed to most air traffic, although some domestic flights were allowed on Thursday. The country’s civil aviation agency said authorities would announce Friday afternoon whether they are reopening or keeping the airspace closed.Residents of the Pakistani border town of Chikhoti reported heavy shelling overnight and Friday morning. More than 200 people had fled to a military organized camp about 20 kilometers (16 miles) away from the border.Police in the Indian-controlled Kashmir said one man was wounded and at least two civilian homes were damaged in the cross-border shelling.Kashmir has been divided but claimed in its entirety by both India and Pakistan since almost immediately after the two countries’ creation in 1947. They have fought three wars, two directly over the disputed region.Authorities in Pakistani-controlled Kashmir closed all schools and educational institutions in the region and urged parents to keep their children at home amid mounting tensions.Pakistan’s Foreign Ministry spokesman Mohammad Faisal acknowledged his country received a “dossier” from India about the Feb. 14 suicide bombing. He refused to provide details about the information that New Delhi has shared.Modi, in his first remarks since the pilot’s capture, gave a rallying speech ahead of elections in the coming months.”Our defense forces are serving gallantly at the border,” he told tens of thousands gathered across the country Thursday to listen to him in a videoconference from New Delhi. “The country is facing challenging times and it will fight, live, work and win unitedly.”This week’s violence marked the most serious escalation of the long-simmering conflict since 1999, when Pakistan’s military sent a ground force into Indian-controlled Kashmir at Kargil. That year also saw an Indian fighter jet shoot down a Pakistani naval aircraft, killing all 16 on board.This latest wave of tensions between the two rivals first began after the militant group Jaish-e-Mohammad claimed responsibility for the suicide bombing on Indian paramilitary forces. India long has accused Pakistan of cultivating such militant groups to attack it. Pakistan has said it was not involved in that attack and was ready to help New Delhi in the investigation.Also Friday, Pakistan’s top diplomat said he was skipping a meeting of foreign ministers from the world’s leading Islamic organization in the United Arab Emirates to protest the host’s decision to invite India, a non-member.Foreign Minister Shah Mahmood Qureshi told Parliament he isn’t attending the meeting of the Organization of Islamic Cooperation in the UAE capital of Abu Dhabi because UAE’s Foreign Minister Abdullah bin Zayed Al Nahyan refused to withdraw the invitation to India’s External Affairs Minister Sushma Swaraj. Qureshi said India is neither a member of the 57-nation organization nor has observer status.In her remarks at the gathering, Swaraj clearly criticized Pakistan, an OIC member.”If you want to save that humanity, then we must tell the states who provide shelter and funding to the terrorist to dismantle the infrastructure of (those) terrorist camps and stop providing funding and shelter to the terror organizations based in that country,” she said.___Associated Press writers Roshan Mughal in Muzafarabad, Pakistan, Munir Ahmed in Islamabad, Aijaz Hussain in Srinagar, India, Ashok Sharma and Emily Schmall in New Delhi, and Jon Gambrell in Dubai, United Arab Emirates contributed to this report.