A federal judge sentenced a 42-year-old Baton Rouge man who fired a handgun in his girlfriend’s home in 2014 to more than 10 years in prison after he pleaded guilty to a federal weapons charge.

Michael Keith Lands, who was on federal probation at the time of the November 2014 incident, admitted to possessing a firearm as a convicted felon and violating the terms of his probation.

A Baton Rouge Police report says Lands threatened to kill his girlfriend’s children, pointed a handgun at a child and fired the weapon through a wall into a room where several children were sleeping in the woman’s Byron Street home.

No one was wounded in the incident.

Police found two spent .40-caliber shell casings and a .40-caliber slug inside the home and also recovered a .40-caliber semi-automatic pistol with four live rounds in the magazine, the report says.

Police initially arrested Lands on a number of counts, including attempted first-degree murder, but all state charges were later dismissed.

A 10-year federal prison sentence for possessing a firearm as a felon is the maximum penalty allowed under the law, according to the plea agreement. Lands received nine years and two months on that count.

U.S. District Court Judge James J. Brady also sentenced Lands to an additional 15 months in prison for violating the terms of his previous probation.