During the
Dutch period, the area was under the administrative region of Favorlang (modern-day
Huwei, Yunlin). Present-day Erlin was probably at or near
Gierim, "one of the primary centers for Sino-aboriginal trade and a favorite haunt of pirates and smugglers." ==Administrative divisions==