A Florida police detective has been fired after an investigation found he took an explicit video of himself and sent it to a woman who had reported a crime he was investigating.

News outlets report that according to Plantation police, detective Peter Saglio used his personal iPod in March 2015 to have text conversations with the victim of a possible crime, then sent her a 26-second video of himself engaging in a sex act.

Saglio self-reported the incident and told police the video was meant for his wife. He destroyed the iPod he created the video with.

The victim told police Saglio had sent her flirtatious text messages before the video.

Chief Howard Harrison fired Saglio last week.

Saglio's attorney, Eugene Gibbons, says Saglio was a "stellar" detective and will be appealing his termination.