A photo of House Minority Leader Nancy Pelosi (D-Calif.) and Speaker John Boehner (R-Ohio) that encapsulates the respective reactions of Democrats and Republicans following the U.S. Supreme Court ruling that upheld most of the Affordable Care Act, has gone viral.

The Associated Press photo, which can be viewed here, was actually taken a day before Thursday's landmark 5-4 Supreme Court decision that ruled most provisions of the Affordable Care Act constitutional. It shows Pelosi applauding and smiling while Boehner sports a scowl and looks defiant in the viral photo.

The Pelosi-Boehner photo, shot by the AP's Pablo Martinez Monsivais, was taken at a ceremony honoring the Montford Point Marines, who broke that branch of the military's color barrier in the 1940s, according to the Fayetteville Observer.

The Pelosi-Boehner photo lit up Twitter, where users expressed their amusement at the AP shot.

Wow, sums up [Thursday,] wrote BuzzFeed's Andrew Kaczynski.

Did you see the photo of pelosi and boehner? Lmao boehner about to cry, wrote user @comancheblood.

Brilliant pic of Democrat Nancy Pelosi with Republican John Boehner after #Obamacare decision, opined Guardian contributor Sunny Hundal.

The Pelosi-Boehner photo also led to some creative captions for the viral shot.

I Don't Feel Too Well, Nancy, is how The Daily played up the picture.

The Washington Post ran a caption contest for the Pelosi-Boehner photo that ended noon Friday local time.

 Twitter users were told to use the hashtag #FixCaption to participate.

Among some of the contribtions:

John, take two aspirin and don't call me and Who's fast and furious now, John? both written by @thecitizeNY.

But I thought [Supreme Court Chief Justice] John Roberts was MY best friend forever, wrote user @wearesamkat.

That Damn Affordable Care Act Doesn't pay for my Tanning Booth, wrote @lagro11, making reference to Boehner's trademark orange hue.

A number of Twitter users also saw parallels between the photo and the long-running Peanuts joke involving Lucy, Charlie Brown and the famous football.

I am taking my ball and going home! wrote user Paul Crawford.

Boehner opts to take ball home rather than allow Pelosi spike, wrote user Jeff Ditman.

The Supreme Court's 5-4 decision on the Affordable Care Act, deridingly known as Obama care by the law's detractors, was a shock to most political observers.

The court upheld most of the law, including the individual mandate provision that requires Americans to get health insurance or face a surcharge for not complying with the law.

Chief Justice Roberts joined liberal-leaning judges Ruth Bader Ginsburg, David Souter, Sonia Sotomayor and Elena Kagan to uphold the health care law. Justices Antonin Scalia, Clarence Thomas, Samuel Alito and Anthony Kennedy comprised the dissenting faction of the court.