Takao Prefecture
During the Japanese era, Majia was grouped with modern-day Sandimen Township and Wutai Township as , which was governed under of Takao Prefecture.