MACCLENNY, Fla. -- A 13-year-old boy is fighting for his life after investigators say he was shot by his half-brother Tuesday night.

The teen was taken to UF Health Jacksonville after being shot in the side between the abdomen and the chest in a home in the 11800 block of Tom Wilkerson Road, according to a police report from the Baker County Sheriff's Office.

Baker County Sheriff Joey Dobson said the suspect, 18-year-old Joseph MacQuarrie, is a convicted felon, and said deputies charged the teen late Tuesday night with being a felon in possession of a firearm and reckless endangerment. Dobson said MacQuarrie has not yet been charged with anything relating to the actual shooting.

According to the report, MacQuarrie initially claimed to have been home when his brother was shot by someone else at the Baker County Fairgrounds. MacQuarrie later confessed to the shooting, stating he was playing with a black hand gun that went off accidentally hitting his brother.

MacQuarrie also confessed to hiding the handgun behind the house before driving his brother to the hospital for treatment. He has been charged with tampering with evidence after a gun was found in a pool of water behind the mobile home. According to the report, MacQuarrie said he was afraid of going to prison.

Detectives later found two guns in the home, a black semi-automatic handgun and a single barrel shotgun, according to the report. Bullets and a bullet hole in the wall were also found inside the home.

An 18-year-old and a 15-month-old child were also in the home at the time of the shooting. Neighbors told First Coast News there was a lot of police activity at the home and that the 18-year-old woman in the home at the time of the shooting is MacQuarrie's girlfriend.

MacQuarrie's criminal history goes back to 2010, when he was charged with aggravated assault and battery. In 2011, MacQuarrie was charged with domestic battery on a victim over 65 and battery by strangulation in Duval County. In October 2013, MacQuarrie was pulled over in Baker County and charged with driving without a valid driver's license, defective equipment and open container.

MacQuarrie appeared in court this morning and his bond was set at $45,000.