Question: Over what time period did the representative who defeated Jim Wilson in the July 27, 2004 Democratic primary for Oklahoma's 2nd Congressional District serve?

Context paragraphs:
Will Shafroth: Will Shafroth was a candidate in the Democratic primary to replace Mark Udall in Colorado's 2nd congressional district in 2008.  Will is a fourth-generation Coloradan and the great-grandson of one of Colorado Governor John Shafroth, a man who was the principal author in the U.S. House of the Antiquities Act, which gives the President the authority to set aside lands for conservation and cultural resource preservation purposes, as well as the establishment of Rocky Mountain National Park.  Born in Arapahoe County in 1957, Will has devoted his adult life to public service, particularly to conservation of land, water and wildlife.  Despite winning the endorsement by both major newspapers (The Denver Post and Rocky Mountain News) and many local and state leaders, he was defeated in August 2008 by Jared Polis, who outspent Shafroth 5-1 in the primary.  Polis was eventually elected as the Member of Congress from the 2nd congressional district.

Jackie Walorski: Jacqueline R. Walorski (born August 13, 1963) is an American politician who has been the U.S. Representative for Indiana's 2nd congressional district since 2013.  She is a member of the Republican Party, and she was a member of the Indiana House of Representatives, representing Indiana's 21st district, from 2005 to 2010.  In 2010, Walorski won the Republican nomination for Indiana's 2nd congressional district, but narrowly lost in the general election to Democratic incumbent Joe Donnelly.  In 2012, Walorski went on to win the open seat.

Debbie Halvorson: Deborah L. "Debbie" Halvorson (born March 1, 1958) is the former U.S. Representative for  's 11th congressional district , serving from 2009 until 2011.  Previously, she served in the Illinois Senate from 1997 through 2009.  She is a member of the Democratic Party.  In September 2011, she filed to run in the newly redistricted 2nd congressional district but was defeated in the Democratic primary by the incumbent, Jesse Jackson, Jr.

Jay Seegmiller (politician): Jay Seegmiller (born May 29, 1958) was one of three Democratic candidates for Utah's 2nd congressional district in the 2012 election.  He defeated Dean Collinwood and Mike Small outright at the convention, proceeding to the general election without a primary.  The 2nd district was held by Democratic Congressman Jim Matheson, who opted to run in the newly created 4th congressional district, and is now held by Chris Stewart, who defeated Seegmiller.

Montana gubernatorial election, 1936: The 1936 Montana gubernatorial election took place on November 3, 1936.  Incumbent Governor of Montana Elmer Holt, who became governor in 1935 upon the death of Frank Henry Cooney, ran for re-election.  He was challenged in the Democratic primary by a number of challengers, and was narrowly defeated for renomination by United States Congressman Roy E. Ayers of Montana's 2nd congressional district.  Ayers advanced to the general election, where he faced Frank A. Hazelbaker, the former Lieutenant Governor of Montana and the Republican nominee.  Following a close election, Ayers narrowly defeated Hazelbaker to win what would be his first and only term as governor.

Minnesota's 2nd congressional district: Minnesota’s 2nd congressional district (current) covers the south Twin Cities metro area and contains all of Scott, Dakota, Goodhue, and Wabasha counties.  It also contains part of northern and eastern Rice County including the city of Northfield, and southern Washington County including the city of Cottage Grove.  Burnsville and Eagan are the largest cities in the district.  Historically, for many decades in the mid 20th century the 2nd congressional district covered the southwest corner of the state, while the 1st congressional district covered most of this part of the state.

Dan Boren: Daniel David Boren (born August 2, 1973) is a retired American politician, who served as the U.S. Representative for Oklahoma 's 2 congressional district from 2005 to 2013.  The district includes most of the eastern part of the state outside of Tulsa.  He is a member of the Democratic Party.

David Boswell (Kentucky politician): David E. Boswell is a former Democratic member of the Kentucky Senate, having represented the 8th District from 1990 to 2011.  Earlier he was a member of the Kentucky House of Representatives from 1978 through 1983.  In 1983, he defeated Republican Richard Turner to be elected Agriculture Commissioner of Kentucky with 64%.  In 1987, he was a candidate for Lieutenant Governor unsuccessfully in the Democratic Primary on a ticket paired with Grady Stumbo.  The Stumbo-Boswell ticket came in fourth.  He returned the political arena and was the 2008 Democratic nominee for U.S. Representative for Kentucky's 2nd Congressional District, and lost to Republican nominee Brett Guthrie.  The congressional seat became open because of the retirement of Republican Ron Lewis.

Dwight Evans (politician): Dwight E. Evans (born May 16, 1954) is a Democratic member of the United States House of Representatives from Pennsylvania's 2nd congressional district.  He defeated incumbent Chaka Fattah in the 2016 Democratic primary election, and won a special election on November 8, 2016, following Fattah's resignation from Congress.  He previously served in the Pennsylvania House of Representatives, representing the 203rd District (Philadelphia County).

Jim Wilson (Oklahoma politician): Jim Wilson was an Oklahoma Senator from District 3, which includes Adair, Cherokee and Sequoyah counties, from 2004 to 2012.  He earlier was a member of the Oklahoma House of Representatives from 2000 through 2004.  He ran unsuccessfully against Democratic Incumbent US Rep. Dan Boren in Oklahoma's 2nd Congressional District in the July 27 Democratic primary.

Supporting paragraphs: Jim Wilson (Oklahoma politician) Dan Boren
Answer: from 2005 to 2013