August 26, 2022 | 6:26am

Frank Stallone is throwing his support behind his older brother Sylvester Stallone after it emerged he and his wife of 25 years are getting divorced.

Former model Jennifer Flavin, 54, filed paperwork to dissolve her two-and-a-half decade-long marriage to the “Rocky” star, 76, in Palm Beach County, Fla., on Aug. 19.

And during what can only be assumed to be a difficult time for Stallone, his younger brother is showing him his support.

Taking to Instagram Wednesday, the 72-year-old shared a throwback snap of the pair during their childhood years.

“Brothers till the end! Enough said,” Frank captioned the snap, adding the hashtags, “#brotherhood #loyalty #trust #family #god #country.”

He later shared another post on Instagram, which consisted of a short video followed by a snap of him with Sylvester.

“There’s a lot of stuff going on, but remember one thing: Prima La Familia,” Frank said in the video, which translated to “Family First.”

Court documents obtained by Page Six state the marriage is “irretrievably broken” and note that Flavin is requesting assets accumulated during the union to be “equitably distributed” between them.

Flavin also claims Stallone “engaged in the intentional dissipation, deplete and/or waste of marital assets,” which has negatively affected the “marital estate.”

She’s requesting to be “compensated and made whole” by receiving more money than Stallone does from the estate.

Flavin, who is looking to restore her maiden name, also wants exclusive use of their marital home in Palm Beach, Fla., while Stallone resides in their California property.

Stallone addressed the news Wednesday, telling Page Six, “I love my family. We are amicably and privately addressing these personal issues.”

Stallone married Flavin in May 1997, nearly 10 years after they met at a restaurant.

The Golden Globe winner was previously married to Sasha Czack from 1974 to 1985 and Brigitte Nielsen from 1985 to 1987. He and Czack shared sons Sage, who died in July 2012, and Seargeoh, 43.