Katherine Johnson, a NASA mathematician and trailblazer for racial justice who is one of the space agency's most inspirational leaders, has died. She was 101.

Johnson died Monday of natural causes at a retirement community in Newport News, Va., family attorney Donyale Y. H. Reavis told The Associated Press.

NASA Administrator Jim Bridenstine said in a statement that Johnson "helped our nation enlarge the frontiers of space even as she made huge strides that also opened doors for women and people of color in the universal human quest to explore space. Her dedication and skill as a mathematician helped put humans on the moon and before that made it possible for our astronauts to take the first steps in space that we now follow on a journey to Mars."

EPIC NASA PHOTOGRAPH SHOWS INTERNATIONAL SPACE STATION CROSSING THE MOON

Johnson initially worked with other black women in a racially segregated computing unit in Hampton, Va., that wasn't officially dissolved until NACA became NASA in 1958. Signs had dictated which bathrooms the women could use. Johnson focused on airplanes and other research at first. But her work at NASA's Langley Research Center eventually shifted to Project Mercury, the nation's first human space program.

"We are saddened to learn of the passing of Katherine G. Johnson, a woman whose service to NASA and our nation will not be forgotten. Her strength of character, bravery and mastery of mathematics helped America push beyond inequality to accomplish what some thought impossible," Clayton P. Turner, Director, NASA’s Langley Research Center, said in a statement. "Her life will inspire Americans for generations to come."

Johnson was awarded the Presidential Medal of Freedom by President Obama on Tuesday, Nov. 24, 2015.

The esteemed mathematician was featured in the 2016 film "Hidden Figures," which told the story of a group of African-American women whose contributions were integral to NASA's initial space missions. Johnson was portrayed by the actress Taraji P. Henson in the movie, which won several awards.

MAJESTIC LEOPARD SEEN 'POSING' FOR CAMERA ON CITY STREETS

Born Aug. 26, 1918, in White Sulfur Springs, W.V., Johnson graduated from West Virginia State College with highest honors in 1937. When West Virginia decided to integrate its graduate schools in 1939, West Virginia State’s president, Dr. John W. Davis, selected her and two men to be the first black students offered spots at the state’s flagship school, West Virginia University.

After attending graduate school and working as a public school teacher, she was hired in 1953 by what today is known as NASA’s Langley Research Center but then was called the Langley Memorial Aeronautical Laboratory. Johnson retired from the center in 1986. “I loved going to work every single day,” she said.

ASTEROID PALLAS' VIOLENT HISTORY REVEALED IN NEW IMAGES

GET THE FOX NEWS APP

“At NASA we will never forget her courage and leadership and the milestones we could not have reached without her. We will continue building on her legacy and work tirelessly to increase opportunities for everyone who has something to contribute toward the ongoing work of raising the bar of human potential," Bridenstone said. "She was an American hero and her pioneering legacy will never be forgotten."