LEEDS (England) (AFP) Steven Smiths maiden Test fifty left the second Test against Pakistan finely balanced at Headingley here on Friday. Australia were bowled out for 349 in their second innings, having made just 88 in their first, to leave Pakistan needing 180 for a victory that would square the two-match series at 1-1. Leg-spinner Smith, in only his second match at this level, was last man out for 77, bowled slogging at Umar Gul, after coming in when Australias advantage was only 47. But he batted well against the new ball, taking advantage of any loose deliveries, in a 100 ball innings featuring two sixes and nine fours. He shared stands of 37 with both Mitchell Johnson and Ben Hilfenhaus for the eighth and ninth wickets respectively They were partnerships to fray Pakistans nerves. They have lost their last 13 Tests against Australia - a record run for one country against another - and in Sydney in January were bowled out for 139 chasing a fourth innings victory target of 176. Smith went to fifty in style, sweeping leg-spinner Danish Kaneria for four. And he followed up by launching Kaneria for two sixes in as many balls, the second a huge hit onto the roof of the Football Stand End. In the morning, Pakistan teenage left-arm quick Mohammad Aamer took three wickets for just 12 runs in 16 balls, on his way to final figures of four for 86 in 27 overs, to leave Australia 215 for five at lunch. Michael Clarke, the last of Australias recognised batsmen, was 76 not out, having started the day unbeaten on 32 and wicketkeeper Tim Paine, who top scored with 17 in the first innings, was 17 not out. However Clarke added just one to his interval score when, to Mohammad Asifs first ball after lunch he was caught behind off a superb full length delivery that just seamed away enough to take the outside edge and end the Australia vice-captains four hours of resistance. Australia were plunged into further trouble by a fortunate Kaneria wicket. Paine in what was only his second Test, made a composed 33 in two hours with five boundaries. But his innings ended when he spooned a Kaneria long hop to Azhar Ali at cover. Smith and Mitchell Johnson added valuable runs and with Australia 264 for seven after 80 overs, Pakistan took the new ball as soon as it was available. But when Asif, unusually, dropped short, Smith pulled him for four to take Australias lead past a hundred. But in the fifth over of the new ball, Johnson was lbw to Asif for 12. However, new batsman Hilfenhaus cover-drove Asif for four before Smith lofted the seamer over mid-off for another boundary. Kaneria succeeded where the quicks failed, Hilfenhaus edging him to Umar Akmal at slip after making 17 featuring four boundaries. Aamer took three for 20 as Australia were routed for 88 on Wednesday - their lowest Test total since being dismissed for 76 by the West Indies at Perth in 1984. Australia resumed on their overnight score of 136 for two, 34 behind Pakistans first innings 258. Ricky Ponting, the Australia captain, was 61 not out, having become in the course of his innings only the second batsman, after Indias Sachin Tendulkar, to score 12,000 Test runs. But Ponting had added only five more when he drove loosely outside off stump against Aamer and was caught by wicketkeeper Kamran Akmal for 66, having put on 89 for the third wicket with Clarke. SCOREBOARD AUSTRALIA, 1st Innings: 88 (Mohammad Aamer 3-20, Mohammad Asif 3-30) PAKISTAN, 1st Innings: 258 (S Watson 6-33) AUSTRALIA, 2nd Innings: (overnight: 136-2) S. Watson b Amin 24 S. Katich b Aamer 11 R. Ponting c K Akmal b Aamer 66 M. Clarke c K Akmal b Asif 77 M. Hussey c U Akmal b Aamer 8 M. North b Aamer 0 T. Paine c Ali b Kaneria 33 S. Smith b Gul 77 M. Johnson lbw b Asif 12 B. Hilfenhaus c U Akmal b Kaneria 17 D. Bollinger not out 0 EXTRAS: (b4, lb10, w2, nb8) 24 TOTAL: (all out, 95.3 overs, 445 ins) 349 Fall of wickets: 1-15 (Katich), 2-55 (Watson), 3-144 (Ponting), 4-158 (Hussey), 5-164 (North), 6-217 (Clarke), 7-246 (Paine), 8-283 (Johnson), 9-320 (Hilfenhaus), 10-349 (Smith) BOWLING Aamer 27-6-86-4 Asif 26-4-83-2 Gul 15.3-1-80-1 (5nb) Amin 6-1-12-1 (2w) Kaneria 21-2-74-2 (3nb) Pakistan: Imran Farhat, Salman Butt (capt), Azhar Ali, Umar Amin, Umar Akmal, Shoaib Malik, Kamran Akmal (wkt), Mohammad Aamer, Umar Gul, Danish Kaneria, Mohammad Asif