In the past, wild elephants were caught and trained. The city of Mae Hong Sorn was founded as a stockade for newly caught elephants, since that region had a high elephant population. This century, the number of elephants has declined so rapidly that the entire domesticated stock are one or more generations from their wild forebears. There are still a few thousand wild elephant in northern Thailand, in remote jungle south west of Chiangmai.