LAS VEGAS (AP) — A 23-year-old contestant from Brooklyn, N.Y., has won the title of Miss America.

Mallory Hagan won the Las Vegas beauty pageant Saturday night after tap dancing to James Brown's "Get Up Off of That Thing" and answering a question about whether armed guards belong in grade schools by saying we should not fight violence with violence.

Hagan defeated Miss South Carolina Ali Rogers, who took second, and Miss Oklahoma Alicia Clifton, who finished third.

Hagan wins a $50,000 college scholarship and gets the crown for one year. Her platform was stopping child sexual abuse.

She is expected to spend her title reign on a nationwide speaking tour and raising money for the Children's Miracle Network, the organization's official charity.

Loading Slideshow...
  • Mallory Hytes Hagan

    Miss New York Mallory Hagan waves after she was crowned Miss America 2013 on Saturday, Jan. 12, 2013, in Las Vegas. (AP Photo/Isaac Brekken)

  • Laura Kaeppeler, Mallory Hytes Hagan

    Miss New York Mallory Hagan is crowned Miss America 2013 by Miss America 2012 Laura Kaeppeler on Saturday, Jan. 12, 2013, in Las Vegas. (AP Photo/Isaac Brekken)

  • Mallory Hytes Hagan, Leighton Jordan

    Miss Georgia Leighton Jordan, center, congratulates Miss New York Mallory Hytes Hagan for winning the Miss America 2013 pageant on Saturday, Jan. 12, 2013, in Las Vegas. (AP Photo/Isaac Brekken)

  • Ali Rogers, Mallory Hytes Hagan

    Miss South Carolina Ali Rogers, left, and Miss New York, Mallory Hytes Hagan, right, wait for the announcement of the winner during the Miss America 2013 pageant on Saturday, Jan. 12, 2013, in Las Vegas. Hytes Hagan won the competition. (AP Photo/Isaac Brekken)

  • Mallory Hytes Hagan, Ali Rogers

    Miss New York, Mallory Hagan, right, reacts with Miss South Carolina Ali Rogers as she is crowned Miss America 2013 on Saturday, Jan. 12, 2013, in Las Vegas. (AP Photo/Isaac Brekken)

  • Mallory Hytes Hagan, Brooke Burke

    Miss New York Mallory Hytes Hagan, right, answers a question with host Brooke Burke during the Miss America 2013 pageant on Saturday, Jan. 12, 2013, in Las Vegas. Hytes Hagan was later crowned Miss America 2013. (AP Photo/Isaac Brekken)

  • Mallory Hytes Hagan

    Miss New York Mallory Hytes Hagan competes in the evening gown portion of the Miss America 2013 pageant on Saturday, Jan. 12, 2013, in Las Vegas. Hytes Hagan was later crowned Miss America 2013. (AP Photo/Isaac Brekken)

  • Miss New York Mallory Hytes Hagan competes in the evening gown portion of the Miss America 2013 pageant on Saturday, Jan. 12, 2013, in Las Vegas. Hytes Hagan was later crowned Miss America 2013. (AP Photo/Isaac Brekken)

  • Mallory Hytes Hagan

    Miss New York Mallory Hytes Hagan competes swimsuit portion of the Miss America pageant on Saturday, Jan. 12, 2013, in Las Vegas. (AP Photo/Isaac Brekken)

  • 4th Annual African Children's Choir Fundraising Gala

    NEW YORK, NY - DECEMBER 03: Miss New York 2012 Mallory Hagan attends the 4th Annual African Children's Choir Fundraising Gala at City Winery on December 3, 2012 in New York City. (Photo by Jemal Countess/Getty Images)

  • 4th Annual African Children's Choir Fundraising Gala

    NEW YORK, NY - DECEMBER 03: Miss New York 2012 Mallory Hagan attends the 4th Annual African Children's Choir Fundraising Gala at City Winery on December 3, 2012 in New York City. (Photo by Jemal Countess/Getty Images)