PINELLAS COUNTY, Fla. -- A Tampa attorney has been arrested in Pinellas County after he reportedly exposed himself to and solicited sexual favors from female inmates at the county jail.

Andrew Spark, 54, of Spark Law Group on W Linebaugh has been charged with Soliciting for Prostitution, Exposure of Sexual Organs and Possession of Contraband in a County Detention Facility.

Deputies found that Spark would reportedly meet with Pinellas County inmates record sex acts with them in the jail. Spark used his attorney visitation rights to visit with the inmates and take them into private rooms.

Deputies learned Shanna Boselli and her husband Richard McDonald, booked by US Marshals and charged with child porn with a 7-year-old girl, met Andrew Spark two years ago at a porn convention in Tampa. Spark told the couple he wanted to make a video with Boselli and they couldn't agree on a price, according to Sheriff Gualtieri.

The last known contact between Spark and Boselli was in December 2017.

On November 25, Spark used his privilege as an attorney to meet with Boselli even though he had never represented her. "He duped the system" says Sheriff Gualtieri.

When Spark met with Boselli in jail he told her he was preparing a porn video of female inmates performing sex acts on him and he gives the inmates money by depositing it into their jail accounts. He told Bosellie he met another inmate named Rose (Antoinette Rose Napolitano). During the November meeting, Boselli declined Spark's offer for sex but opened up to doing it in the future.

Spark reportedly met Rose through Backpage.com where Napolitano was posting ads. Deputies say Spark and Rose met several times over the past several years for sex. He never represented her. He would reportedly take her into a private room for attorney and inmate meetings.

He told Rose he was making porn videos with inmates who engaged in sex with him and using his tablet he was allowed to bring into the jail as an attorney privilege.

Spark was also arrested for reportedly brining his personal iPad into the Pinellas County Jail without advance notice or consent while visiting inmates. Deputies say the iPad was used during a crime to record a sexual act with the female inmate.

From June to December 2017 they met at least six times, including Sunday, December 17, 2017.

When deputies got word Spark was coming to meet Rose on Sunday, they wired the room with audio and video. As they were about to begin sexual acts, detectives entered the room and found him exposed.

Deputies believe Spark has done this with other inmates at the jail and at other jails in the Tampa Bay Area and Central Florida. He may face additional charges.

ABC Action News has reached out to the accused lawyer. In a text message, he told ABC Action News "Thank you for reaching out to me this way. I would like to provide more information a little later."