CLEARLAKE, Calif. — A man convicted in a shooting at a backyard barbecue in Northern California that killed a 4-year-old boy and wounded five others has been sentenced to 311 years to life in prison.

Judge Doris Shockley called the shooting "callous" and "nonsensical," as she issued the sentence against 24-year-old Orlando Lopez on Tuesday in a Lake County courtroom.

Lopez was convicted of first-degree murder and other charges in the June 2011 shooting in Clearlake. Authorities say he and 22-year-old Paul Braden fired shotguns from a neighbor's yard at people attending the barbecue. Four-year-old Skyler Rapp died. Five adults were wounded.