Question: What is the name of this person who served as Secretary of the Navy and as a five-term Republican States Senator and beat Attorney General of Virginia Andrew P. Miller in the Senate election in Virginia in 1978?

Context paragraphs:
List of Attorneys General of West Virginia: The Attorney General of West Virginia is the chief legal advisor to the West Virginia state government and is the state's chief law enforcement officer.  The office was created by Article VII, Section 1 of the first Constitution of West Virginia in 1863.  Under the current state constitution (1872), the attorney general is an executive department-level state constitutional officer, along with the governor, secretary of state, auditor, treasurer, and commissioner of agriculture.  The attorney general is the "ex officio" reporter of the Supreme Court of Appeals of West Virginia.  The constitution further specifies that the attorney general shall reside in the seat of state government, Charleston, during their term of office.  In Charleston, they are to maintain public records, books, and papers pertaining to their office, and perform all duties prescribed by state law.  As of 2012, the attorney general receives a salary of $95,000 per year.

United States Senate election in Virginia, 1978: The 1978 United States Senate election in Virginia was held on November 7, 1978.  Former Secretary of the Navy Republican John Warner beat Attorney General of Virginia Andrew P. Miller.

Frederick Thomas Gray: Frederick Thomas Gray (October 10, 1918 – May, 1992) was a Virginia attorney and Democratic Party politician.  Governor James Lindsay Almond Jr. appointed Gray to serve as Attorney General of Virginia after the resignation of Attorney General Albertis Harrison (a member of the Democratic political organization led by Senator Harry F. Byrd) to run for Governor of Virginia during the Massive Resistance crisis in Virginia.  Gray returned to private practice at Williams Mullen after Robert Young Button (elected Attorney General during the same 1961 election in which Harrison became Governor) took office.  Gray later served in the Virginia House of Delegates and the Virginia Senate (both part-time positions) as he continued his law practice.

Michigan Attorney General election, 2018: The Michigan Attorney General election of 2018 will take place on November 6, 2018, alongside elections to be Michigan's governor, Class I United States Senator, [Michigan Secretary of State election, 2018|Secretary of State]], as well elections for Michigan's 14 seats in the United States House of Representatives, all 38 seats in the Michigan Senate and all 110 seats in the Michigan House of Representatives; to elect the Secretary of State of Michigan.  Incumbent Republican Attorney General Bill Schuette is prohibited from seeking a third term due to term limits.  The Michigan GOP is looking to win its 5th straight Attorney General election.  Along with the offices of Lieutenant Governor and Secretary of State, the nominees for Attorney General will be chosen by party delegates at their respective party conventions.

Ken Cuccinelli: Kenneth Thomas Cuccinelli II ( ; born July 30, 1968) is an American politician and lawyer who served as the 46th attorney general of Virginia from 2010 until 2014.  Cuccinelli was the Republican nominee for Governor of Virginia in the 2013 Virginia gubernatorial election.  He was elected as Virginia's 46th attorney general in the November 2009 general election.  He was elected to two terms in the Virginia Senate, representing the 37th District in Fairfax County from 2002 until he took office as attorney general in 2010.  He holds degrees in engineering, law and commercial policy, and co-founded a law firm.

Bill Mims: William Cleveland Mims (born June 20, 1957 in Harrisonburg, Virginia) is a former Attorney General of Virginia and current Justice of the Supreme Court of Virginia.  He served as a Republican in the Virginia House of Delegates from 1992 to 1998 and the Senate of Virginia from 1998 to 2006, when he was appointed Chief Deputy Attorney General by then-Attorney General Bob McDonnell.  When McDonnell resigned in February 2009 to run for governor, the Virginia General Assembly elected Mims to complete McDonnell's term.  Mims did not seek election to a full term and was succeeded by Ken Cuccinelli in January 2010.

Michigan Secretary of State election, 2018: The Michigan Secretary of State election of 2018 will take place on November 6, 2018, alongside elections to be Michigan's governor, Class I United States Senator, Attorney General, as well elections for Michigan's 14 seats in the United States House of Representatives, all 38 seats in the Michigan Senate and all 110 seats in the Michigan House of Representatives; to elect the Secretary of State of Michigan.  Incumbent Republican Secretary of State Ruth Johnson cannot seek a third term due to term limits.  The Michigan GOP is looking to win its 7th straight Secretary of State election.  Along with the offices of Lieutenant Governor and Attorney General, the nominees for Secretary of State will be chosen by party delegates at their respective party conventions.

Connecticut attorney general election, 2010: The 2010 Connecticut attorney general election was held on Tuesday, November 2, 2010 to elect the 24th attorney general of the state of Connecticut.  Five-term incumbent Attorney General Richard Blumenthal declined to seek re-election in 2010, instead opting to run for Connecticut’s open U.S. Senate seat held by the retiring Christopher Dodd.  Blumenthal's decision not to seek a sixth term set-up the first open race for attorney general in the state since Blumenthal's election in 1990.

John Warner: John William Warner (born February 18, 1927) served as Secretary of the Navy from 1972 to 1974 and as a five-term Republican United States Senator from Virginia from January 2, 1979, to January 3, 2009.  He did not seek reelection in 2008.  He works for the law firm of Hogan Lovells, where he had previously worked before joining the United States Department of Defense.

Corey Palumbo: Corey Lee Palumbo (born August 16, 1972) is a West Virginia State Senator representing the 17th district in the West Virginia Senate.  A state senator since 2009, he previously served as a member of the West Virginia House of Delegates from 2003 to 2009.  He is the son of Mario Palumbo, the 32nd Attorney General of West Virginia as well as a former five-term state senator.

Supporting paragraphs: United States Senate election in Virginia, 1978 John Warner
Answer: John Warner