A man shot and killed Friday night when he pulled a gun on police at a DUI checkpoint in Lake City was a violent sex offender.

Police said Jimmy Barker, a 60-year-old from Louisville, Tenn., was driving a black, Dodge pickup truck when he pulled out a handgun and pointed it at a police officer. The officer was able to grab hold of it.

During the struggle, the officer reached for his own gun and shot Barker, investigators said.

Barker was convicted in three different rape cases, one in 1997, 1998 and 1999, in Tennessee.

He was also charged with DUI last year.

The state attorney's office and the Florida Department of Law Enforcement are investigating this case.