A Kansas man has been sentenced to more than 15 years in prison for a fatal beating in a dispute over a dog.