A man who destroyed Donald Trump's star on the Hollywood Walk of Fame has been sentenced to three years of probation for vandalism.

An attorney for James Otis says he pleaded no contest to the felony Tuesday in Los Angeles Superior Court.

Attorney Mieke ter Poorten says Otis agreed to pay $4,400 for the damage and attorney's fees and perform 20 days of community labor.

Otis used a sledgehammer and pickax to deface the star about a week before Trump was elected president.

Otis said he originally planned to the steal the star, sell it and give money to the 11 women who had said Trump groped them.

The star was for Trump's work on the reality show "The Apprentice." It has since been repaired.