Former pastor sentenced 22 years for sexually assaulting girl