Wanted man arrested after he was caught by police hiding in