A Florida judge has sentenced a man who shot at George Zimmerman during a confrontation to 20 years in prison.

Zimmerman fatally shot unarmed black teenager Trayvon Martin in Florida in 2012 in a case that struck a chord nationwide. He was later acquitted of all charges.

"A jury in Florida's Seminole County found Matthew Apperson guilty of second-degree attempted murder in the shooting — which happened as Apperson and Zimmerman were driving in separate vehicles," NPR's Greg Allen tells our Newscast unit. Apperson was convicted last month and sentenced today. "He said he was acting in self-defense and that Zimmerman had pointed a gun at him — a claim Zimmerman denied."

A bullet fired by Apperson "shattered the passenger-side window of Zimmerman's truck and lodged in the frame above his window," according to the Orlando Sentinel, and Zimmerman "suffered minor injuries from glass or metal fragments."

As Greg reports, "A circuit judge sentenced Apperson to the state-mandated minimum, 20 years for shooting at another person. It was the second confrontation between the two."

Apperson "apparently has a history with Zimmerman: In September [2014], he said that Zimmerman had threatened him as he drove on a road in Lake Mary," as The Two-Way has reported. No charges were filed.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.