Title: Nancy Pelosi
Content:  of Baltimore. She is the dean of California's congressional delegation, having begun her 18th term in 2021. Pelosi represents, which comprises four-fifths of the city and county of San Francisco. She initially represented the (1987–1993), and then, when district boundaries were redrawn after the 1990 census, the  (1993–2013). Pelosi has led the House Democrats since 2003—the first woman to lead a party in Congress—serving twice each as House Minority Leader (2003–2007 and 2011–2019) and as Speaker (2007–2011 and since 2019). Pelosi was a major opponent of the Iraq War as well as the Bush administration's 2005 attempt to partially privatize Social Security. During her first speakership, she was 
Title: California's 12th congressional district
Content:  California's 12th congressional district is a congressional district in northern California. Speaker of the United States House of Representatives Nancy Pelosi, a Democrat, has represented the district since January 2013. She has represented various congressional districts within the city of San Francisco since 1987. As of 2013, the 12th district is entirely within San Francisco, encompassing most of the city. The remainder of the city is included in the 14th district. Prior to redistricting by the California Citizens Redistricting Commission of 2011, the district consisted of roughly the area of the current 14th district. It is the smallest district by area outside New York City.
Title: 2022 United States House of Representatives elections in California
Content:  Democrat Nancy Pelosi, who has represented the district since 2013, was re-elected with 77.6% of the vote in 2020. Pelosi is running for re-election. The boundaries of the district will be determined during the 2020 redistricting cycle.
Title: California's 12th congressional district
Content:  When the district was created after the 1930 census, it was located in Los Angeles County. As California's population grew, however, the district generally was moved northward, eventually to the San Francisco peninsula. Richard Nixon, who would subsequently serve as the 37th president of the United States, represented this district from 1947 to 1951. Nancy Pelosi, the current speaker of the House, is the current representative of the district. She had previously served California's 8th congressional district from 1993 to 2013.
Title: Electoral history of Nancy Pelosi
Content:  The electoral history of Nancy Pelosi spans more than three decades, from the mid-1980s to the present. A member of the Democratic Party in the United States, Nancy Pelosi was first elected to the U.S. House of Representatives in a 1987 special election after the death of Congresswoman Sala Burton that February. In the Democratic primary, Pelosi defeated San Francisco Supervisor Harry Britt, considered the more progressive candidate, with 36 percent of the vote to his 32 percent. In the subsequent runoff she defeated Republican Harriet Ross, her closest competitor, by more than a 2–1 margin. Now in her 17th two-year term, Pelosi has enjoyed overwhelming voter support throughout her congressional career. Since 2013 she has represented, which consists of four-fifths of the city and county of San Francisco. She initially represented the (1987–1993), and then, when district boundaries were redrawn after the 1990 Census, the  (1993–2013). As the House Democratic Party leader since 2003, she has sought election to the office of Speaker of the United States House of Representatives every two years since that time.
Title: 2012 United States House of Representatives elections in California
Content:  The 12th district is based in the Bay Area and includes most of San Francisco. House Democratic Leader and former Speaker Nancy Pelosi, who represented the 8th district from 1993 to 2013 and previously represented the 5th district from 1987 until 1993, won reelection here.
Title: 2014 United States House of Representatives elections in California
Content:  The 12th district is based in the Bay Area and includes most of San Francisco. House Democratic Leader and former Speaker Nancy Pelosi, who has represented the 12th district since 2013 and previously represented the 8th district from 1993 to 2013 and the 5th district from 1987 until 1993, won reelection.
Title: 2016 United States House of Representatives elections in California
Content:  The 12th district is based in the Bay Area and includes most of San Francisco. The United States Speaker of the House of Representatives, Nancy Pelosi, has represented the 12th district since 2013 and previously represented the 8th district from 1993 to 2013 and the 5th district from 1987 until 1993; won reelection.
Title: Nancy Pelosi
Content:  After moving to San Francisco, Pelosi became friends with 5th district congressman Phillip Burton, and began working her way up in Democratic politics. In 1976, she was elected as a Democratic National Committee member from California, a position she would hold until 1996. She was elected as party chair for Northern California in January 1977, and four years later was selected to head the California Democratic Party, which she led until 1983. Subsequently, Pelosi served as the San Francisco Democratic National Convention Host Committee chairwoman in 1984, and then as Democratic Senatorial Campaign Committee finance chair from 1985 to 1986.
Title: Nancy Pelosi
Content:  country. Democrats have held the seat since 1949 and Republicans, who currently make up only 13 percent of registered voters in the district, have not made a serious bid for the seat since the early 1960s. She won reelection in the regular election in 1988 and has been reelected another 16 times with no substantive opposition, winning with an average of 80 percent of the vote. She has not participated in candidates' debates since her 1987 race against Harriet Ross. The strongest challenge Pelosi has faced was in 2020 when fellow Democrat Shahid Buttar won 22.4% of the vote, and Pelosi won 77.6%. For the 2000 and 2002 election cycles, she held the distinction of contributing the most money among members of Congress to other congressional campaigns.

Question: what district does nancy pelosi represent?
Answer: California’s 5th congressional district.