A U.S. astronaut set a record Saturday for the longest single space flight by a woman, breaking the old mark of 288 days with about two months left in her mission.

Christina Koch, a 40-year-old electrical engineer from Livingston, Mont., arrived at the International Space Station on March 14. She broke the record set by former space station commander Peggy Whitson in 2016-2017.

Koch is expected to spend a total of 328 days — nearly 11 months — on board the space station before returning to Earth. Missions are typically six months, but NASA announced in April that it was extending her mission until February.

The U.S. record for longest space flight is 340 days, set by Scott Kelly in 2015-2016. The world record is 15 months set in the 1990s by a Russian cosmonaut aboard the former Mir space station.

NEW RECORD! NASA astronaut <a href="https://twitter.com/Astro_Christina?ref_src=twsrc%5Etfw">@Astro_Christina</a> now has a place in the record books for the longest single spaceflight by a woman, eclipsing former NASA astronaut Peggy Whitson’s record of 288 days. <a href="https://twitter.com/AstroPeggy?ref_src=twsrc%5Etfw">@AstroPeggy</a> went back to zero gravity to say <a href="https://twitter.com/hashtag/CongratsChristina?src=hash&ref_src=twsrc%5Etfw">#CongratsChristina</a>. <a href="https://t.co/Z7XWNCeDhi">pic.twitter.com/Z7XWNCeDhi</a> —@Space_Station

Koch's extended mission will help NASA learn about the effects of long space flights, data that NASA officials have said is needed to support future deep space exploration missions to the Moon and Mars.

Before breaking the endurance record for a woman in space, Koch set another milestone as part of the first all-female spacewalk team in October. It was Koch's fourth spacewalk.

She previously said she took a lot of helpful advice from Kelly's 2017 autobiography Endurance.