The New York Post's Page Six reports that 22-year-old Roger Alvarado, of Homestead, Florida, was sentenced Tuesday after pleading guilty to criminal contempt and attempted burglary.
The Post says Alvarado plans to return to Florida after his jail stint, which is nearly finished, and serve five years' probation. He must also complete a mental-health program.
Officers found Alvarado asleep in the pop star's home in the Tribeca neighborhood of Manhattan in April. Police say he had also used her shower. Swift was not home during the break-in.
Alvarado had been arrested at the same address last February on charges of breaking the front door with a shovel.
Information from: New York Post, http://www.nypost.com