JERUSALEM — A court here on Tuesday sentenced an Israeli man convicted of abducting and murdering a Palestinian teenager in 2014 to life in prison and an additional 20 years, sealing a case that has roiled Israelis and Palestinians.

Rejecting an insanity plea that was submitted at the end of the trial, the Jerusalem District Court had ruled last month that Yosef Haim Ben-David, 31, was fully responsible for his actions when he and two teenage nephews abducted Muhammad Abu Khdeir, 16, off a street near the boy’s East Jerusalem home, drove him to a forest on the outskirts of the city, choked him, beat him unconscious and burned him to death in the early hours of July 2, 2014.

One of the teenage defendants was sentenced in February to life in prison, and the other received a 21-year term after the judges determined that he had played a lesser role in the murder. Their names have not been made public because they were 16 at the time of the crime.