(Adds details on foreign inflows in paragraph 4, analyst comment in paragraph 5, year-to-date index gains in paragraph 6)

KARACHI, June 20 (Reuters) - Pakistan's benchmark share index rose 2.8% to a new record high on Thursday, driven by expectations last week's budget will strengthen the case for a new bailout from the International Monetary Fund.

The government's budget was welcomed by investors as it avoided an anticipated increase in capital gains tax, despite an ambitious tax revenue target.

The market extended its post-budget rally on Thursday when it reopened after a five-day break, which included a public holiday, and breached the key 78,000 level of for the first time during intraday trade.

Foreign portfolio investment in the market is at the highest in almost ten years, with inflows of $83 million as of June 14, data compiled by Topline Securities and JS Global Capital showed.

Sohail Mohammed, CEO of Topline Securities, said that a statement from credit rating agency Fitch that the budget would strengthen the prospects for an IMF deal would help to bring more foreign inflows.

The benchmark share index is up 26.2% year to date and has almost doubled since Pakistan signed a nine-month standby arrangement with the IMF last summer.

"Pakistani equity investors are driving the PSX higher, continuing to unlock valuations on better sentiment, which is a trend that began when Pakistan signed its last IMF deal last summer," said Amreen Soorani, head of research at JS Global Capital.

"The trend paused briefly on anticipation of stricter capital gains taxes, which did not materialise," she said, adding that the index is trading at a four times price to earnings ratio despite the recent rally and offers attractive dividend yields.

The financial sector was up 4.4%, with banks like UBL , HBL, MCB, Bank Alfalah , Habib Metropolitan Bank, Allied Bank , up more than 4%.

Adnaan Sheikh, assistant vice president of research at Pak Kuwait Investment Company, said that foreign investor interest and the central bank's decision to cut its key rate by 150 basis points last week - its first rate cut in nearly four years - had pushed the market up.

Apart from the capital gains tax, analysts said the budget and other revenue measures were in line with expectations and key to sealing a new IMF programme. This will include a challenging tax target of a near-40% jump from the current year, and a sharp drop in the fiscal deficit to 5.9% of GDP from 7.4% for the current year.

Sheikh said the strict budgetary measures to secure new IMF funding will be likely to attract more foreign investors to the market, in addition to the current inflows.

Pakistan's lower house of parliament is set to meet later on Thursday to debate the budget that the government presented last week. (Reporting by Ariba Shahid in Karachi Editing by Jamie Freed, Shri Navaratnam, Peter Graff and Jane Merriman)