sentence: In 1950, she became the first woman in Japanese political history to have a baby while in office.
modified: fix grammar: In 1950, she became the first woman in Japanese political history to having a baby while in office.