Man sentenced to 3 life terms for sexually assaulting a child