A man is in jail after North Myrtle Beach police say he tried to sexually assault a 13-year-old girl outside of a restaurant.