WASHINGTON (AP) — It's a photograph that defined the 2024 campaign. Donald Trump, campaigning for a second term, raises a fist defiantly toward the sky, blood streaked across his face.

But the photo captures just one millisecond of a U.S. presidential campaign unlike any that came before it.

Trump faced charges and was convicted of a felony in New York City. A bullet from the rifle of a would-be assassin grazed his ear. He appeared days later at the Republican National Convention with a bandage covering his injury, an iconic image that further galvanized his supporters and became a symbol of his defiance.

The current president, Joe Biden, dropped out of the race weeks before the Democratic convention, bowing to unrelenting pressure from his party following a disastrous debate performance. He was replaced atop the ticket by Vice President Kamala Harris, the first woman of color to be nominated for president by a major party.

Associated Press photographers were there to document all of it. Not just the historic episodes, like Evan Vucci's image of a defiant and bloody Trump, but also intimate moments, like Harris and second gentleman Doug Emhoff giggling aboard Air Force Two.

They captured voters with raw emotions of joy, excitement, contemplation or sorrow. Billionaire Elon Musk jumping, arms raised above his head, as Trump stands at a lectern. Harris and Biden sharing a moment on stage after he passed the torch at the DNC.

This gallery shows the year in images, as seen through the lenses of AP photojournalists.

Former President Donald Trump waits for the start of proceedings in Manhattan criminal court, Tuesday, April 23, 2024, in New York. Before testimony resumes Tuesday, the judge will hold a hearing on prosecutors' request to sanction and fine Trump over social media posts they say violate a gag order prohibiting him from attacking key witnesses. (AP Photo/Yuki Iwamura, Pool)

Credit: AP

icon to expand image

Credit: AP

Jocardo Ralston, 47, from Pennsylvania, looks up to a television to watch the presidential debate between President Joe Biden and Republican presidential candidate former President Donald Trump at Tillie's Lounge on Thursday, June 27, 2024, in Cincinnati. (AP Photo/Carolyn Kaster)

Credit: AP

icon to expand image

Credit: AP

Republican presidential candidate former President Donald Trump is surrounded by U.S. Secret Service agents at a campaign rally, Saturday, July 13, 2024, in Butler, Pa. (AP Photo/Evan Vucci)

Credit: AP

icon to expand image

Credit: AP

A delegate looks at her phone during the Republican National Convention Wednesday, July 17, 2024, in Milwaukee. (AP Photo/Julia Demaree Nikhinson)

Credit: AP

icon to expand image

Credit: AP

Republican presidential candidate former President Donald Trump gestures as he arrives at the Republican National Convention Wednesday, July 17, 2024, in Milwaukee. (AP Photo/Julia Demaree Nikhinson)

Credit: AP

icon to expand image

Credit: AP

A delegate wearing a small American flag on his ear watches as Republican presidential candidate and former president, Donald Trump, speaks during the final day of the Republican National Convention Thursday, July 18, 2024, in Milwaukee. (AP Photo/Paul Sancya)

Credit: AP

icon to expand image

Credit: AP

President Joe Biden pauses before he addresses the nation from the Oval Office of the White House in Washington, Wednesday, July 24, 2024, about his decision to drop his Democratic presidential reelection bid. (AP Photo/Evan Vucci, Pool)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris and running mate Minnesota Gov. Tim Walz arrive during a campaign rally at Desert Diamond Arena, Friday, Aug. 9, 2024, in Glendale, Ariz. (AP Photo/Julia Demaree Nikhinson)

Credit: AP

icon to expand image

Credit: AP

Supporters of Republican presidential candidate former President Donald Trump look on as a bus carrying Democratic presidential nominee Vice President Kamala Harris passes by following a campaign event, Sunday, Aug. 18, 2024, in Rochester, Pa. (AP Photo/Julia Demaree Nikhinson)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris hugs President Biden during the Democratic National Convention Monday, Aug. 19, 2024, in Chicago. (AP Photo/Charles Rex Arbogast)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris arrives to speak on the final day of the Democratic National Convention, Thursday, Aug. 22, 2024, in Chicago. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump and Democratic presidential nominee Vice President Kamala Harris shake hands before the start of an ABC News presidential debate at the National Constitution Center, Tuesday, Sept. 10, 2024, in Philadelphia. (AP Photo/Alex Brandon)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump dances after speaking at a campaign event Tuesday, Sept. 24, 2024, in Savannah, Ga. (AP Photo/John Bazemore)

Credit: AP

icon to expand image

Credit: AP

Supporters cheer as Republican presidential nominee former President Donald Trump speaks during a campaign event, Sunday, Sept. 29, 2024, in Erie, Pa. (AP Photo/Matt Rourke)

Credit: AP

icon to expand image

Credit: AP

Elon Musk jumps on the stage as Republican presidential nominee former President Donald Trump speaks at a campaign rally at the Butler Farm Show, Saturday, Oct. 5, 2024, in Butler, Pa. (AP Photo/Evan Vucci)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump departs after speaking at a campaign event at the Butler Farm Show, Saturday, Oct. 5, 2024, in Butler, Pa. (AP Photo/Alex Brandon)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris walks toward reporters to speak before boarding Air Force Two, as she departs Las Vegas from Harry Reid International Airport, Thursday, Oct. 10, 2024, en route to Arizona. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

Forgiato Blow wears a necklace with a likeness of former President Donald Trump before Republican presidential nominee former President Donald Trump speaks at a campaign event at the Cobb Energy Performing Arts Centre, Tuesday, Oct. 15, 2024, in Atlanta. (AP Photo/Alex Brandon)

Credit: AP

icon to expand image

Credit: AP

A supporter greets Republican presidential nominee former President Donald Trump after a campaign event at the Cobb Energy Performing Arts Centre, Tuesday, Oct. 15, 2024, in Atlanta. (AP Photo/Alex Brandon)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris hugs a child after speaking during a campaign event at Washington Crossing Historic Park, in Washington Crossing, Pa., Wednesday, Oct. 16, 2024. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump stands on stage with steelworkers as he speaks during a campaign rally at Arnold Palmer Regional Airport, Saturday, Oct. 19, 2024, in Latrobe, Pa. (AP Photo/Evan Vucci)

Credit: AP

icon to expand image

Credit: AP

Attendees look on at a campaign rally for Democratic presidential nominee Vice President Kamala Harris, Friday, Oct. 25, 2024, in Houston. (AP Photo/Annie Mulligan)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris, left, and former first lady Michelle Obama arrive to speak during a campaign rally, Saturday, Oct. 26, 2024 at the Wings Event Center in Kalamazoo, Mich. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris, bottom center, greets supporters after speaking during a campaign rally Saturday, Oct. 26, 2024 at the Wings Event Center in Kalamazoo, Mich. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump is prayed over with Pastor Paula White during the National Faith Summit at Worship With Wonders Church, Monday, Oct. 28, 2024, in Powder Springs, Ga. (AP Photo/Brynn Anderson)

Credit: AP

icon to expand image

Credit: AP

A voter watches the stage before former first lady Michelle Obama speaks at campaign rally in support of Democratic presidential nominee Vice President Kamala Harris, Tuesday, Oct. 29, 2024, in College Park, Ga. (AP Photo/Brynn Anderson)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump speaks during a campaign rally at Lee's Family Forum, Thursday, Oct. 31, 2024, in Henderson, Nev. (AP Photo/Julia Demaree Nikhinson)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris appears on NBC's "Saturday Night Live," with Maya Rudolph, Saturday, Nov. 2, 2024 in New York. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump is reflected in the bullet proof glass as he finishes speaking at a campaign rally in Lititz, Pa., Sunday, Nov. 3, 2024. (AP Photo/Matt Rourke)

Credit: AP

icon to expand image

Credit: AP

A political advertisement for Democratic presidential nominee Vice President Kamala Harris is displayed on the Sphere, Monday, Nov. 4, 2024, in Las Vegas. (AP Photo/John Locher)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump speaks at a campaign rally at PPG Paints Arena, Monday, Nov. 4, 2024, in Pittsburgh, Pa. (AP Photo/Evan Vucci)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris, left, shares a laugh with second gentleman Doug Emhoff, after reuniting in Pittsburgh, Monday, Nov. 4, 2024, aboard Air Force Two, just before taking off from Pittsburgh for her final campaign rally in Philadelphia. (AP Photo/Jacquelyn Martin, Pool)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris looks at a monitor of the event from backstage, just before taking the stage for her final campaign rally, Monday, Nov. 4, 2024, in Philadelphia. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

Democratic presidential nominee Vice President Kamala Harris speaks during a campaign rally outside the Philadelphia Museum of Art, Monday, Nov. 4, 2024, in Philadelphia. (AP Photo/Matt Slocum)

Credit: AP

icon to expand image

Credit: AP

Voters stand in line outside a polling place at Madison Church, Tuesday, Nov. 5, 2024, in Phoenix, Ariz. (AP Photo/Matt York)

Credit: AP

icon to expand image

Credit: AP

A voter works on her ballot at a polling place at the Ronald Reagan Presidential Library on Election Day, Tuesday, Nov. 5, 2024, in Simi Valley, Calif. (AP Photo/Chris Pizzello)

Credit: AP

icon to expand image

Credit: AP

With tears streaming down her face, a supporter of Democratic presidential nominee Vice President Kamala Harris applauds as Harris delivers a concession speech after the 2024 presidential election, Wednesday, Nov. 6, 2024, on the campus of Howard University in Washington. (AP Photo/Jacquelyn Martin)

Credit: AP

icon to expand image

Credit: AP

A young girl holds a "Black Voters for Harris-Walz" sign outside of Democratic presidential nominee Vice President Kamala Harris' election night watch party at Howard University, Tuesday, Nov. 5, 2024, in Washington. (AP Photo/Terrance Williams)

Credit: AP

icon to expand image

Credit: AP

Republican presidential nominee former President Donald Trump arrives at an election night watch party at the Palm Beach Convention Center, Wednesday, Nov. 6, 2024, in West Palm Beach, Fla. (AP Photo/Julia Demaree Nikhinson)

Credit: AP

icon to expand image

Credit: AP

Bikers show their support for President-elect Donald Trump while riding on I-84, Wednesday, Nov. 6, 2024, near Lords Valley, Pa. (AP Photo/Robert F. Bukaty)

Credit: AP

icon to expand image

Credit: AP