JACKSONVILLE, Fla. -- A 26-year-old man pleaded guilty Wednesday to attacking and stabbing his grandfather, according to the State Attorney's Office.

Alfred Johnson, 26, entered his plea the day his trial was set to begin, according to Jackelyn Barnard with the State Attorney's Office.

Johnson pleaded guilty to charges of attempted murder in the second degree with a weapon, grand theft auto and fleeing or attempting to elude a law enforcement officer. He also pleaded guilty to charges in an unrelated case -- possession of a firearm by a convicted felon and grand theft auto.

Johnson was staying with his grandparents during June of this year when he attacked his grandfather, Reginald Adams, after he asked Johnson to carry containers of water from the car into the house, Barnard said.

He attacked Adams with a butcher knife in the kitchen and stabbed his grandfather in the face, arms and abdomen, according to the State Attorney's Office. He then stole his grandfather's car and fled.

Police were able to locate Johnson driving the stole car. He ran from the police for two miles before officers were able to stop him and he was taken into custody.

Johnson is a repeat offender with a prior carjacking conviction in 2003 and another grand theft auto conviction in 2006, both of these happened in Duval County.

Johnson faces life in prison, Barnard said. He will be sentenced the week of Jan. 22, 2013.