An El Paso man pleaded guilty on Wednesday to the murder of two people and was sentenced to 45 years in state prison.