The teenager has been jailed for life.