ThinkSpain said the man took a window out of its frame to get into the house in Vigo.
He stole sausages, lobsters and other food from the fridge inside the home, ThinkSpain reported.
The owner of the house could have received compensation for the food, but refused to accept it.
"I don't want anything. He stole food, he must have been hungry -- I hope he enjoyed eating it," she said in court.
ThinkSpain said the incident was the man's second infraction, and his sentence for the first episode was a suspended 3 1/2 year sentence he would only have to serve if he committed another crime.