A 23-year-old contestant from Brooklyn, N.Y., has won the title of Miss America.

Miss America 2013 Mallory Hagan (Facebook)

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.

Miss New Jersey Lindsey Petrosh did not make it into the semi-final round.

(Copyright 2012 The Associated Press. All Rights Reserved)