A Tucson man was sentenced Monday to life in prison with the possibility of release after serving 25 years for the fatal stabbing of another man.

Gabriel Israel Soliz, 20, pleaded guilty in January to first-degree murder in the death of George Soto, 23. Soliz admitted he stabbed Soto on Feb. 14, 2011.

He said he "'snapped' due to 'anger issues,' " according to court documents released Monday.

Soliz, Christian Gauna-Castillo, 18, and another person encountered Soto near Fort Lowell Road and North Stone Avenue. Gauna-Castillo punched Soto and knocked him down, and Soliz stabbed him several times, according to court records.

Gauna-Castillo told police Soliz showed him a knife just before the stabbing and said "he planned to 'stick' the next person he saw," court records state.

Gauna-Castillo was shot to death on Dec. 22, 2011, by an unknown person.

Soliz was sentenced by Pima County Superior Court Judge Teresa Godoy.