A Canadian citizen who sold a semiautomatic rifle to undercover police while living illegally in the United States was sentenced in federal court Friday to one year in jail. Fifty-one-year-old Douglas James Leopold pleaded guilty in January to two counts of being an illegal alien in possession of a firearm. Leopold has already completed most of his jail term because he has been in custody at the Federal Detention Center since his arrest in July.