The Navy on Tuesday released the flirtatious texts and emails that led to removal of the No. 2 officer at a San Diego unit, usually a career-ending action.

Cmdr. Allen Maestas was relieved from his position as executive officer of Beachmaster Unit 1 on May 16 following an investigation that found that his messages to female sailors crossed the line into inappropriate. Maestas had been scheduled to take command of the unit in the future.

The Navy released the findings to U-T San Diego on Tuesday in response to a Freedom of Information Act request.

Over a series of texts to one sailor under his command, Maestas said “weekends sorta suck cause I don't get to see you until Monday” and “I'm jealous u r in (pa)jamas. I wish I could join u.”

To the same woman, he also sent texts asking her to send photos of herself in shorts or “in any pose.” He also texted, “Sure wish U could give a good back massage.”

The report shows that Maestas made more than one woman at the command uncomfortable. The women's names were redacted in the report.

To one of the women, Maestas made repeated mention of her truck, including offering to wash it for her if her boyfriend couldn't do it. In her statement, the sailor said she traded in the vehicle to avoid future comments from her executive officer.

The investigation concluded that Maestas inquired about sailors' personal lives out of a genuine interest in helping them, but that he also used it as a pretext for improper familiarity. The report also says that in messages Maestas used emoticons -- such as :-) and :>) -- after offensive remarks to women so that later he could claim he was only kidding.

When questioned, the executive officer denied doing anything wrong, according to an interview transcript.

But in a hand-written statement the same day, Maestas acknowledged that family problems during a deployment led him to let his professional standards “slip” when he returned home.

“I started allowing myself to have conversations with my subordinates that I wouldn't normally have,” he wrote. “I was looking for someone to talk to.”

Late Tuesday, a spokeswoman for San Diego's Naval Surface Forces command issued a statement about the case. "The messages were inappropriate and unprofessional and did not respect the senior-subordinate relationship," Cmdr. Tamsen Reese said. "Sailors deserve an environment where they feel comfortable in the work place."