Tyler R. Barriss, 26, was sentenced on Friday to 20 years in federal prison

A California man has been sentenced to 20 years in prison for hoax calls that led police to fatally shoot an unarmed Kansas man following a dispute between two people over a $1.50 bet in a 'Call of Duty: WWII' video game.

Tyler R. Barriss, 26, was sentenced on Friday by U.S. District Judge Eric Melgren under a deal in which he pleaded guilty in November to a total of 51 federal charges related to fake calls and threats.

The 2017 death of 28-year-old Andrew Finch drew national attention to the practice of 'swatting,' where someone reports a false emergency to get authorities, particularly a SWAT team, to descend on an address.

Authorities say an Ohio gamer recruited Barriss to 'swat' a Wichita gamer, but that the address they used was old, leading police to Finch, who was not involved in the video game or the dispute.

Tyler Barriss (above last year) was sentenced on Friday to 20 years in prison for a hoax call that led police to fatally shoot an unarmed Kansas man

Andrew Finch, 28, (pictured with his son) was the unarmed single father who was shot dead by Wichita Police after Barriss called in a false report of an armed killer

Barriss admitted he called Wichita police from Los Angeles on December 28, 2017, to falsely report a shooting and kidnapping at that Wichita address. Finch answered the door, and an officer shot the unarmed man.

Barriss' prosecution in Wichita consolidated other federal cases that had initially been filed against him in California and the District of Columbia involving similar calls and threats he made.

Prosecutors had asked for a 25-year sentence , while the defense had sought a 20-year term.

The Federal Bureau of Investigation recognized swatting as an emerging threat as early as 2008, noting it had become commonplace among gamers.

Finch died in a tragic 'swatting' hoax call that led police to his front door believing there was an armed man holding hostages inside

The 20-year sentence was what Barriss (above) had sought, while prosecutors had asked the judge to give him 25 years behind bars

The intended target in Wichita, Shane Gaskill, 20, and the man who allegedly recruited Barriss, Casey Viner, 19, of North College Hill, Ohio, are charged as co-conspirators.

Authorities say Viner provided Barriss with an address for Gaskill that Gaskill had previously given to Viner.

Authorities also say that when Gaskill noticed Barriss was following him on Twitter, he gave Barriss that old address and taunted him to 'try something.'

Viner and Gaskill pleaded not guilty to charges including conspiracy to obstruct justice, wire fraud and other counts.

Shane Gaskill leaves the federal court in Wichita. He was the intended target of the hoax, and has been charged for allegedly providing a false address that was used

Casey Viner, 18, of Ohio, allegedly provided Barriss with an address for Gaskill that Gaskill had previously given to Viner

Viner has notified the court he intends to change that plea at a hearing scheduled for Wednesday.

Gaskill's trial has been delayed to April 23 amid plea talks with federal prosecutors.

Finch's family has sued the city of Wichita and the unidentified officers involved.

Police have said the officer who shot Finch thought he was reaching for a gun because he moved a hand toward his waistband. Prosecutors declined to charge the officer.