the end of the 2006/2007 season. He became the highest run-scorer for Western Australia in 4-day matches, after passing Tom Moody's old record of 8853 runs on 5 December 2007 against Tasmania at Bellerive Oval. On 5 March 2008, Langer announced his retirement from Australian first-class domestic cricket. Earlier in the year, Langer had announced his retirement from the Australian domestic one-day cricket. However, Langer said that he would play another season for Somerset in county cricket. Langer played for Western Australia in a career spanning 17 years, leaving as the highest run-scorer in Western Australia's history. County Cricket Langer played county cricket for Middlesex County Cricket Club from 1998 to 2000, captaining the side in 2000. In his first season, he scored his maiden century in English domestic cricket in superb fashion with 233 not out against Somerset at Lord's, in the same match that he was awarded his county cap. He went on to score centuries in his next two County Championship matches, and achieved 1,000 runs for the season after only eight matches. He finished the season with the second highest runs total and batting average in the Championship, behind John Crawley on both counts. In June 2006 it was announced that he would join Somerset later that month for six weeks, while fellow countryman Dan Cullen was on duty with Australia A. On 20 July 2006, he made his highest first-class score of 342 playing for Somerset in a County Championship match against Surrey at the Woodbridge Road ground in Guildford. This was also the highest score ever by a Somerset batsman, breaking the record of Sir Viv Richards who made 322 against Warwickshire at Taunton in 1985, and is the 10th highest score in a first-class match in England. During his six-week spell at the club, Langer also enjoyed particular success in the Twenty20 competition, topping the batting charts along with fellow Australian Cameron White. On 20 April 2007 he became the first Somerset player to score two triple centuries in the County Championship when he hit 315 against Middlesex in a match noted for its batting. Responding to a Middlesex first innings of 600, Somerset set a new ground record at the County Ground, Taunton with 850–7 declared. On 19 September 2007 it was announced that Langer would stay with Somerset (as captain) for the 2008 season. In 15 first-class matches for the county