Man sentenced to 20 years in attack on Australian visitor