SANTA ANA – A former Mrs. Orange County pleaded guilty to possession of child pornography and lewd acts with a minor younger than 14 and was immediately sentenced to 300 days in jail, according to court records.

Meghan Breanna Alt, 27, of Irvine, was also ordered to participate in a child abuser’s treatment program and do 15 days of community service with Caltrans, according to court records. She will be placed on three years of probation.

Two felony counts of lewd acts with a minor younger than 14 were dismissed as part of the plea deal, according to court records.

Related: Ex-Mrs. Orange County charged with porn, lewd acts on a child

Alt, who was under surveillance, was arrested following a traffic stop in San Diego County in October 2015, according to Orange County sheriff’s officials.

The Naval Criminal Investigative Service alerted federal and county law enforcement involved in the multi-agency Orange County Child Exploitation Task Force about the child pornography, leading investigators to Alt, sheriff’s officials said.

Alt was accused of sending sexually explicit images of a 4-year-old female relative to a Marine in exchange for cash and gifts, sheriff’s officials said when she was arrested.

Alt was also suspected of advertising unspecified services online that sometimes led to her having sex with clients in exchange for money with her children present, sheriff’s officials alleged when she was arrested.

Alt won the Mrs. Orange County pageant in 2014 and competed in the Mrs. California contest in June of that year.

Deputy District Attorney Michael Carroll, the prosecutor on the case, did not immediately respond to a message.