Kevin O'Brien hit 14 runs off the final over as Ireland's opening one-day international with Pakistan in Dublin was tied on the Duckworth-Lewis method.
The hosts actually outscored Pakistan after facing the same amount of balls in a contest which was reduced to 47 overs each, but the total needed for victory was adjusted due to rain interrupting Pakistan's innings.
Mohammad Hafeez scored an unbeaten century to help Pakistan to a total of 266-5, which became a target of 276 following the D/L calculations.
Paul Stirling responded with a hundred of his own during the chase before O'Brien (84 off 47 balls) stepped up in the dying stages to ensure that the spoils were shared with Ireland ending on 275-5.
Ireland, who were chasing a first-ever win over a Test-playing nation in Dublin, started the chase as they meant to go on with Stirling driving Mohammad Irfan to the straight boundary in the first over.
While skipper William Porterfield (19) fell meekly to Hafeez after a 66-run opening stand, his departure hardly inhibited Stirling who continued his march towards three figures.
When Pakistan eventually turned to Saeed Ajmal, curiously waiting until the 23rd over, Stirling showed his subtlety with a pair of swept boundaries and better was to come when the opener launched the star spinner into the stands off one knee.
Ed Joyce (32) provided an astute presence in a 96-run stand until he played down the wrong line to Hafeez, and Ireland sought to press home their advantage by sending in Kevin O'Brien.
Stirling (103) fell soon after passing his century and with Gary Wilson (11) and Niall O'Brien (4) quickly following, Ireland's hopes remained with the latter's brother Kevin.
Ireland reduced the ask to 15 from the final over and an O'Brien six from the third ball sparked hopes of a famous victory. But a two off the next ball and a four of the final delivery left the adjusted scores level.
Earlier, Hafeez defied the rain delays to keep his composure and post his fifth ODI century, with his second-wicket stand of 188 with Asad Shafiq (84) the bedrock of Pakistan's innings.
Hafeez eventually finished unbeaten on 122 as he and accelerated the scoring in the closing overs alongside Kamran Akmal (13 off 6 balls).