New Orleans police officer Jason Giroir, who was suspended for posting offensive comments online about slain 17-year-old Florida boy, has resigned. 

On Monday, Giroir was suspended indefinitely without pay for comments he made Sunday night in an article on CNN affiliated website WWL.

Giroir first posted a comment saying the Florida teen Trayvon Martin acted like a thug and died like one.

When a reader named Eddie Johnson criticized Giroir and termed him a racist, Giroir replied saying: Eddie come on down with a Hoodie and you can join Martin in HELL and talk about your racist stories.

Giroir had admitted that he posted comments on the news website. 

Ronal Serpas, the police superintendent, accepted Giroir’s resignation, saying it was in the “best interest” of the police department.

From the moment I was informed yesterday afternoon that Jason Giroir admitted … he did write the offensive comments on the news station's website, I immediately questioned his abilities to continue as a New Orleans police officer, Serpas said.

My responsibility to the people of New Orleans, as well as to the professional officers on this police force, demanded I take swift action in this matter. I have accepted Giroir's resignation, and believe it is in the best interest of this department and this city, he added.

Giroir resigned after Public Integrity Bureau Chief Arlinda Westbrook told him that Serpas was calling for a pre-termination hearing, according to police.

To say that I'm angry is an understatement. I'm furious. Giroir embarrassed the department by his insensitive, harmful and offensive comments, Serpas said.