He stomped and strangled his Yorkie and left her to die. Now, he’s going to jail.

There’s justice for Lily the Yorkshire Terrier.

A Little Havana man pleaded guilty Wednesday to fatally stomping and choking the puppy, leaving the dog to die outside a Miami Beach Publix.

Sigman Hernandez agreed to spend 270 days in a Miami jail and complete two years of house arrest and an added year of probation.

Hernandez, 41, also won’t be allowed to have any pets and must pay back the vet who treated Lily in her dying days.

The hearing was attended by animal-rights activists, including one accompanied by her own Yorkie in a stroller, a therapy dog named Emma.

“This is a pretty horrible crime,” Miami-Dade Circuit Judge Alberto Milian told Hernandez. “A lot of people were very disturbed by what you did.”

It was over a year ago that Miami Beach police arrested Hernandez, a delivery man, after he admitted he attacked the puppy because she vomited in his car. He was charged with third-degree felony animal cruelty.

The 7-pound pooch was found next to a concrete column in Publix supermarket garage at 1920 West Ave. Officers took the dog, later named Lily, to an emergency animal hospital, where vets discovered she had at least seven broken ribs and signs of strangulation, police said.

Lily died from her injuries two days later.

In an effort to identify the dog’s killer, Miami Beach police released surveillance video of Hernandez in the Publix. He turned himself in not long afterward.