made his 400th club appearance in a 4–3 win over Sheffield United on 24 October 2009, coming on for Stephen McPhail, and made his 100th league appearance for Cardiff on 1 November 2009 against Nottingham Forest as a substitute. During a 4–4 draw with Peterborough United on 28 December 2009, Rae suffered a broken hand keeping him out for up to 4 weeks, but returned on 9 January 2010 against Blackpool after a remarkable recovery. On 9 April 2010, Rae was confirmed to be sidelined for the rest of the season after he suffered a ruptured tendon in his ankle. Having fallen out of favour at the start of the 2010–11 season following the arrivals of Danny Drinkwater and Seyi Olofinjana, Rae was allowed to open talks with Leeds United in August 2010 over a possible transfer. Rae left Cardiff later in the summer. Return to Dundee Aberdeen were interested in signing Rae, but on 14 October 2011, he signed a short-term deal with his former club Dundee. Rae scored against Morton in a 2–1 victory. On 26 November 2011, Rae scored a header against Falkirk as Dundee won 4–2. Rae also scored against Kilmarnock in a fourth round Scottish Cup Replay with Dundee losing out 2–1. Aberdeen On 30 January 2012, Rae signed for his home town club Aberdeen. He scored his first goal for the club in the Scottish League Cup against Greenock Morton, and his first league goal for Aberdeen on 23 September 2012 playing against Motherwell. He then went on to score goals against Hibs and Kilmarnock. Rae left Aberdeen at the end of the 2012–13 season, as his contract was not renewed. Third spell at Dundee On 6 June 2013, Rae once again joined Dundee, this time as a player/coach. He scored his first goal in this spell in a 4–1 win against Dumbarton on 12 October 2013. He decided to leave the club after gaining promotion to the Scottish Premiership in May 2014 and subsequently retired. Hakoah Sydney City East FC In September 2014, Rae moved to Australia and signed with National Premier Leagues NSW club Hakoah Sydney City East FC. He became their head coach in January 2018. He is currently playing for Pagewood Botany FC International career Rae was still at Dundee when he gained international recognition, winning his first cap for Scotland in 2001 against Poland. On 24 March 2008 he