An Orange County man who killed a neighbor in his mobile home park because the neighbor was a sex offender was sentenced Friday to life in prison without the possibility of parole.

Robert Eugene Vasquez, 36, was convicted in June of stabbing neighbor Bobby Ray Rainwater Jr. to death. Prosecutors said Vasquez waited outside Rainwater’s home in a San Juan Capistrano mobile home park on the morning of Dec. 1, 2011, intending to kill Rainwater because he was a registered sex offender.

Vasquez's mother had told her son and others that Rainwater was a child molester. In fact, Rainwater had been convicted of assault with intent to commit rape, an offense that obligated him to register as a sex offender but did not involve a child, said Orange County Senior Deputy Dist. Atty. Ebrahim Baytieh.

When Rainwater walked outside his home, Vasquez attacked him, punching him in the back of the head and stabbing him until he was nearly decapitated.

Two days later, as sheriff’s deputies investigated the murder, Vasquez attacked a friend at the friend's home in San Juan Capistrano with a metal object. The friend survived but suffered major injuries.

Vasquez was convicted of one felony count of special circumstances murder and one felony count of aggravated assault.

During the sentencing, a statement from members of Rainwater’s family was read to the court. The family and its neighbors were “hurting because of the action you chose that morning. We are getting better as time goes by, but we will not forget Bob. We will always have loving thoughts of Bob and the fun time we shared with him,” according to a statement from the Orange County district attorney’s office.

"We live in a free country," Baytieh said. "People have a right not to like someone. People have a right to not like what someone has done. But no one has a right to kill someone."

ALSO:

Live: Filner resigns, says he's victim of witch hunt

As Rim fire rages near Yosemite, communities start to dig in

San Diego Mayor Bob Filner out Aug. 30, apologizes to victims

Twitter: @PalomaEsquivel

paloma.esquivel@latimes.com