input: At the time of the 2005 Conservative leadership contest, David Davis was Shadow Secretary of State for the Home Department. His Campaign Manager in the leadership contest was Conservative MP and Davis's deputy as Shadow Home Secretary, Andrew Mitchell (who in 2010 became Secretary of State for International Development in Prime Minister David Cameron's Cabinet). Davis was initially the front runner in the contest, but after a poorly received speech at that year's Conservative Party Conference his campaign was seen to lose momentum. However, referring to a Conference speech by the party's former leader, Campaign Manager Andrew Mitchell said: "William Hague made a great speech which many people will judge to be better than all the other leadership candidates put together. What that tells you is that being absolutely brilliant at being able to make a speech at conference is not the be-all-and-end-all of leadership. There are other things as well." In the first ballot of Conservative MPs on 18 October 2005, Davis came top with 62 votes. As this was less than the number of his declared supporters, it became clear that the Davis bid was losing momentum. The elimination of former Chancellor Kenneth Clarke left the bookmakers' favourite, David Cameron, without a rival on the centre of the party. In the second ballot, held two days later on 20 October 2005, Cameron polled 90 votes, Davis 57 votes and Liam Fox was eliminated with 51 votes so Davis went through to the next stage with David Cameron. In spite of a strong performance in a BBC Question Time head-to-head debate in the final stage of the leadership contest, Davis could not match his rival's general popularity. Conservative party members voted to elect Cameron the new Conservative leader, Davis losing with 64,398 votes against Cameron's 134,446 votes. Cameron chose to re-appoint his rival as Shadow Home Secretary following his victory.

Answer this question "What was the leadership contest?"
output: the 2005 Conservative leadership contest,

input: In the late 1980s, Jones and Gramm each put out solo efforts on Atlantic. Gramm released Ready or Not in January 1987 and shortly after its release, rehearsals for Foreigner's next album had started but ground to a halt as Lou's status with the group was uncertain. But after the promotion and concert dates for Lou's album were finished, cooler heads prevailed and Lou rejoined Foreigner in the studio for Inside Information, which was out at the end of 1987. Jones had Mick Jones in August 1989, then Gramm followed with his second solo release, Long Hard Look (October 1989), and decided to leave the group in May 1990 while preparing to tour behind Long Hard Look as the opener for Steve Miller Band. After finishing this tour, Gramm went on to form the short-lived band Shadow King, which put out one eponymous album on Atlantic in October 1991. Meanwhile, Jones brought in a new lead singer, Johnny Edwards (formerly of the bands Buster Brown, Montrose, King Kobra, Northrup and Wild Horses). Edwards made his first live appearance with Foreigner at the Long Island club Stephen Talkhouse on August 15, 1990, where he, Jones, Dennis Elliott and Rick Wills appeared, joined by special guests Terry Thomas (on guitar, who produced their next album) and Eddie Mack on harmonica. The new edition of Foreigner released the album Unusual Heat in June 1991. This was at the time their worst selling album and only climbed as high as No. 117 on the Billboard 200, although "Lowdown and Dirty" was a minor mainstream rock hit, reaching No. 4 on that chart. In July 1991, the new lineup of Foreigner played some European dates then made its official US debut on August 9 performing on the second night of a Billy Joel benefit concert at Deep Hollow Ranch in Montauk, New York to raise funds for the preservation of Montauk Point Lighthouse. For their 1991 tour, Jeff Jacobs, who had played in Joel's band, was brought in as the new keyboardist and Mark Rivera returned. But during the fall leg of this tour, Elliott decided to leave the group after a concert at The Ritz in NYC on November 14, 1991 and embark on a career as a wood sculptor. Larry Aberman was then recruited as a temporary replacement until Mark Schulman arrived in 1992 to hold down the drum throne for the next three years. Scott Gilman (guitar, sax, flute) joined the touring band in 1992 and Thom Gimbel took over from Gilman and Rivera in late 1992 after they departed. When Gimbel went to Aerosmith in 1993, Gilman returned to handle the guitar/sax/flute duties until Gimbel came back permanently in the spring of 1995.

Answer this question "When did Gramm leave?"
output: late 1980s, Jones and Gramm each put out solo efforts on Atlantic.

input: Steve Winwood left to form Traffic in 1967; his brother, Muff, moved into the music industry as A&R man at Island Records. In a joint venture the soundtrack to the film Here We Go Round the Mulberry Bush featured both the Spencer Davis Group and Traffic. After the Winwoods' departures, the Spencer Davis Group regrouped with the addition of guitarist Phil Sawyer (ex-Les Fleur de Lys) and keyboardist/vocalist Eddie Hardin (ex-A Wild Uncertainty). This line-up recorded several tunes for Here We Go Round The Mulberry Bush and released the "Time Seller" single in July 1967; the b-side, "Don't Want You No More," also received radio airplay. This was followed by "Mr. Second-Class" in late 1967, which received heavy airplay on Radio Caroline (at that time one of the two remaining pirate radio ships off the British coast), and the album "With Their New Face On" in 1968. At that time Ray Fenwick had replaced Phil Sawyer. The group's last minor hit, "After Tea", was released at the same time by the German band The Rattles, providing competition that led finally to a temporary stop to all activities of the band. The song was originally recorded by the Dutch group After Tea, which included guitarist/singer Fenwick amongst its members. After one further single ("Short Change"), at that time Eddie Hardin and Pete York had left to form the duo Hardin & York. They were replaced by future Elton John Band member Dee Murray on bass and Dave Hynes on drums. Nigel Olsson replaced Hynes, and this lineup produced the album "Funky" in 1969 (only released in the USA on DATE, a sub-label of CBS) before splintering.

Answer this question "Did they release any other music?"
output:
this lineup produced the album "Funky" in 1969 (only released in the USA on DATE, a sub-label of CBS) before splintering.