RIP: Floyd Carter Sr., one of the remaining Tuskegee Airmen, dies at 95.

Floyd Carter Sr., one of the last of the Tuskegee Airmen, dedicated his remarkable life to serving his country and his city.

The decorated veteran of three wars and 27 years with the NYPD died Thursday at age 95, leaving a long legacy as a groundbreaking hero pilot and a city police detective.

Carter, who simultaneously rose through the ranks of the U.S. Air Force Reserves and the police, was honored in 2007 with the Congressional Gold Medal by President Bush for breaking the color barrier in Tuskegee.

“We mourn the loss of a true American hero,” read a tweet from the 47th Precinct in his adopted home of the Bronx. “Our community & nation has lost a giant.”

Carter rose to the rank of Air Force lieutenant colonel years after joining the group of African-American pilots at Tuskegee University.

He met his wife Atherine there, where the Alabama native was working as part of an all-female repair crew.

Carter wooed his bride-to-be on several dates in his plane, and they were married at the air base in 1945.

What an amazing life.