Long Island's most modern drug dealer pleaded guilty Tuesday and will soon be out of jail.

Michael Bennett, 22, of Brooklyn, sold marijuana online instead of the street and marketed it using social media instead of by word-of-mouth. He was arrested in June and pleaded guilty Tuesday to third-degree criminal sale of marijuana.

In return for the plea, Suffolk County Court Judge James F.X. Doyle agreed to sentence him to 6 months in jail and 5 years' probation. Bennett has already satisfied the jail portion of the sentence, so he is expected to be released this week. He also agreed to forfeit $2,100 to the district attorney's office.

"I don't know what led you to the public display of things we all know to be illegal," Doyle said after accepting the plea. "Be careful."

He had faced a maximum of 11/3 to 4 years in prison.

advertisement | advertise on newsday

His attorney, Lani Houston of the Legal Aid Society, showed Doyle Bennett's honorable discharge papers from the Marines and a letter of commendation from the Marines for community service work. Bennett served in the war in Afghanistan and suffered injuries to both knees and a shoulder.

Doyle said the honorable discharge was a factor in his decision to approve the plea deal.

During questioning by Assistant District Attorney Kate Wagner, Bennett admitted delivering 38.7 grams of marijuana to an undercover officer in Islandia.

advertisement | advertise on newsday

Bennett ran the online SuffolkSensi Flower Shop, accepted credit cards and cash and delivered his illegal product personally, prosecutors said.

The website, which was still online Tuesday, included an online order form with prices ranging from $80 for an eighth of an ounce of marijuana to $650 for an ounce of hash.