A man pleaded no contest to attempted first-degree sexual assault on a child in February.