GREEN BAY - A Pittsfield 19-year-old was sentenced to three years in prison Friday for shooting at and injuring another teen who was egging his house.