Pakistan chased 160 runs target with the loss of five wickets in their second innings.
Perhaps it was fitting that the winning runs were hit by opener Imam-ul-Haq, one of the debutants on the other side, because it was Inzamam's nephew who was involved in the very first action of the game when he was flattened in a Niall O'Brien and Tyrone Kane sandwich.
Imam shared a vital 126-run stand with Babar Azam (59) for the fourth wicket.
O'Brien became the first player to score a Test century for Ireland and he was there at the close on 118 not out, with his 114-run partnership with Stuart Thompson (53) for the seventh wicket proving decisive. His first 14 Tests saw Amir take 51 wickets at just a fraction over 23 runs apiece, but his 16 completed Tests since his comeback yielded 44 wickets at a more expensive average of 37.25.
Before this match, Amir had taken 95 wickets in 30 Tests and last season he helped Essex win English cricket's first-class County Championship.
The unanimous verdict from the cricket world showed that it was great to see Ireland play Test cricket, and even greater to come out with an extremely competitive performance on their Test debut. Murtagh stepped up with two wickets to his name, Azhar Alin was out for 2 off the fourth ball, leaving the game well and truly on.
The way Imam in particular coped under grey skies against some lively pace bowling was an especially heartening sign for Pakistan ahead of their upcoming two-Test series in England, where conditions are likely to be similar to those they encountered at Dublin's Malahide.
HCSO hosting annual fallen officer memorial ceremony Tuesday
Gabriel Gomez of the Texas Attorney General's Office, who has been in law enforcement for over 20 years and is also an Army helicopter pilot attached to one of the Special Forces teams.
At least 15 killed, 42 wounded as multiple blasts hit Afghan city
Taliban militants and fighters of Islamic State outfit have presence in the province, some 120 km east of Afghan capital of Kabul. At least nine people, including a child, had been killed and 36 wounded, public health officials said.
IMMORTALITY UNLOCKED! Manchester City set SIX records with epic win over Southampton
Swansea needed a 10-goal swing - beating Stoke and seeing Southampton hammered by Manchester City - to stay up. Everton boss Sam Allardyce admitted to doubts about his own future following rumours that he will be sacked.
"Hopefully in the next week or two there's going to be hundreds of little kids aspiring to be Kevin O'Brien in backstreet cricket", added Porterfield.
After being handed a target of 160 runs for victory, Pakistan had a shaky start to their innings.
When Pakistan slipped to 14 for three in pursuit of 160, the Irish were in with a sniff of marking their inaugural men's Test with a victory to compare with any.
Pakistan bowling coach Azhar Mahmood suggested after stumps on Sunday that Amir's lengthy time away from the game allied to the fact he had been involved in all three global formats-Tests, one-dayers and Twenty20s-since coming back had taken a toll on the swing bowler. Now Pakistan were in trouble on a green seamer against green opponents (in Test terms), with their two most-experienced batsmen back in the dressing room.
"I think it was a fantastic team effort, yesterday belonged to Kevin and very well supported by Tommo and TK". Unfortunately, he came back after five years [out] and since he came back he has played every format for us.
Only three teams have won a test after following on - England in 1894 and 1981, and India in 2001.
What were your highlights from Ireland's first ever Test match? It was our first Test match and it was tough on the first day, we struggled a bit with the emotions.