Sayama Domain

was a feudal domain under the Tokugawa shogunate of Edo period Japan, located in Kawachi Province in what is now the southeastern portion of modern-day Osaka Prefecture. It was centered around the Sayama "jin'ya" which was located in what is now the city of Ōsakasayama and was controlled by the "tozama daimyō" Hōjō clan throughout all of its history. 
History.
The Later Hōjō clan descendent from Hōjō Sōun were among the greatest of the Sengoku period "daimyō", ruling most of the Kantō region of Japan from their massive stronghold at Odawara Castle. However, the clan's power was destroyed by Toyotomi Hideyoshi in the 1590 Siege of Odawara. Hōjō Ujinao was spared since he was married to Tokuhime, the second daughter of Tokugawa Ieyasu, and the couple were exiled to Mount Kōya, where Ujinao died the following year. Ujinao had no son, but the Hōjō lineage was continued through the adoption of Hōjō Ujinori, the fourth son of Hōjō Ujiyasu. Tokugawa Ieyasu had given him estates with a "kokudaka" of 7000 "koku" in Kawachi Province, thus raising him to the status of "hatamoto", and his son Hōjō Ujimori has estates with a "kokudaka" of 4000 "koku" in Shimotsuke Province. On Ujinori's death in 1600, Ujimori inherited his father's fiefs, thus giving him a combined "kokudaka" of 11,000 "koku", which qualified him for the title of "daimyō" under the Tokugawa shogunate. This marked the start of Sayama Domain, which the Hōjō clan would rule for 12 generations until the Meiji restoration.
Hōjō Ujimori ruled from his residence in Osaka, it was his son, Hōjō Ujinobu, who constructed the "jin'ya" in Sayama. The third "daimyō", Hōjō Ujimune, was an alcoholic, and was unable to fulfill his duties at Edo Castle, and his adopted son Hōjō Ujiharu, was not able to receive official confirmation of his succession, largely due to the opposition of the "rōjū" Inaba Masanori, who sought to use Hōjō Ujimune's illness as a cause for attainder. Inaba succeeded in having the domain abolished; however almost simultaneously, the "tairō" Sakai Tadakiyo granted a new fief with a "kokudaka" of 10,000 "koku", thus preserving the clan's status.
In 1760, the 7th "daimyō", Hōjō Ujiyoshi, unsuccessful attempted political and fiscal reforms in the domain over entrenched opposition. In 1848, the 11th "daimyō", Hōjō Ujiyoshi, built the han school, "Kanshukan" which he opened also to samurai from other domains.
During the Bakumatsu period, the domain was called upon to dispatch troops to quell the Oshio Heihachiro uprising of 1837, to guard Osaka Bay during the incursion of Russian Admiral Yevfimiy Putyatin in 1849, and to suppress the Tenchūgumi in 1863. At the start of the Boshin War, the domain pledged fealty to the imperial side; however, the domain's finances (which had been in a state of near collapse since the middle of the Edo period due to huge debts) could not support further military spending or dispatch of troops. The final "daimyō", Hōjō Ujiyasu, surrendered the domain to the Meiji government in 1869 without waiting for the abolition of the han system in 1871 and refused the position of imperial governor. The domain was annexed to Sakai Prefecture. 
The north gate of the "jin'ya" was relocated to the temple of Hongan-ji Sakai Betsuin in 1881.Sakai prefecture was later absorbed into Osaka Prefecture, and Hōjō Ujiyasu became a viscount under the "kazoku" peerage in 1884.
Holdings at the end of the Edo period.
As with most domains in the han system, Sayama Domain consisted of several discontinuous territories calculated to provide the assigned "kokudaka", based on periodic cadastral surveys and projected agricultural yields.