Ireland to sign for the club since Gary Fleming in 1990. McPhail made seventy-nine appearances for the Oakwell club in two seasons of League One football, the culmination of which coming with a victory over Swansea City in the League One Play-off Final at the Millennium Stadium. McPhail's Barnsley contract expired the following summer, and the midfielder departed the newly promoted club. Cardiff City Cardiff City saw off competition from numerous other clubs to secure McPhail's services. McPhail was an ever-present for Cardiff during his first season in Wales, and impressed to such an extent that he was handed a longer-term deal the following July. During the injury-forced absences of club captain Darren Purse and vice-captain Riccardo Scimeca, McPhail stood in as the club's skipper. On 27 October 2007 he scored for Cardiff for the first time by finding the net in a 1–1 draw with Scunthorpe United. On 30 November 2007, after an indifferent opening to the Bluebirds' campaign, McPhail spoke to local paper the South Wales Echo, claiming that the team's poor start was "all my fault". McPhail found the net twice within the space of two months with goals against Hull City and Blackpool in the Championship. McPhail also had the honour of leading Cardiff City out at Wembley for the FA Cup Final, where City were beaten by a goal to nil by Premier League side Portsmouth. The start of the 2008–09 season saw McPhail make his one hundredth appearance in all competitions for Cardiff in a 1–1 draw with Doncaster Rovers on 16 August. Two months later, he completed a centenary of league appearance in a 2–1 defeat against Wolverhampton Wanderers. On 23 September, Cardiff met rivals Swansea City in a League Cup encounter at the Liberty Stadium in the first South Wales derby to take place in seven years. McPhail was sent off in the 75th minute for a second bookable offence, as Jordi Gomez's goal won the tie for Roberto Martínez's Swansea. McPhail was dismissed once again when the two sides met at the same venue in the league, again for collecting two yellow cards. Cardiff manager Dave Jones publicly criticised McPhail, stating that "he probably cost us all three points", in his post-match press conference. McPhail picked up an injury early on in the 2009–10 season, keeping him out of the side for one month. Returning to the side on in the