A man has been jailed after he pleaded guilty to sexual assault of a woman and of possessing indecent images of children.