Orlando, Florida (CNN)  -- A former astronaut who was accused of assaulting a romantic rival in the parking lot of the Orlando airport will avoid prison after pleading guilty to lesser charges as part of a plea agreement. Citing Lisa Marie Nowak's lack of a criminal history, Orange County Circuit Judge Marc Lubet sentenced her to a year of probation. She was given credit for the two days she served in the county jail after her arrest. Nowak, 46, must also perform 50 hours of community service and have no contact with the victim in the case, former Air Force Capt. Colleen Shipman.
@highlight
Lisa Marie Nowak, a former astronaut, accused of assaulting a romantic rival
@highlight
Florida judge sentences Nowak to year on probation, community service
@highlight
Prosecutors say she drove 900 miles  in diapers, wore disguise, followed woman through airport
Colleen Shipman
She must also send @placeholder a letter of apology within 10 days, "a sincere letter of apology, not one of these vanilla things that I see from other defendants," Lubet told Nowak.
Colleen Shipman
"It's been almost three years since the events took place that caused this nightmare for Ms. @placeholder, and you are 100 percent responsible."
Lisa Marie Nowak
Nowak
Lisa Marie Nowak
Shipman delivered an emotional victim statement before @placeholder's sentencing, telling the court she remains convinced Nowak planned to kill her.