A U.S. soldier who crossed into North Korea last year pleaded guilty to desertion as part of a plea agreement Friday and was sentenced to 12 months of confinement, his lawyer said.