A member of an Islamic terrorist group in the U.S. has been sentenced to 12.5 years in prison for plotting attacks against targets in Los Angeles , California .