Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
The domain was created in Tenna 3 (1683), with Matsudaira Yoshimasa, third son of Tokugawa Mitsutomo, its first daimyō. After third lord Matsudaira Yoshizane died in 1727 without heir, the domain briefly lapsed, but four months later was renewed under Matsudaira Michiharu, seventh son of Tokugawa Tsunanari, before being abolished the following year, the territory reverting to the bakufu. Eighty years later, in 1807, Matsumae Akihiro was transferred from Ezo-chi to the recreated domain, where the clan was based until his return to Matsumae in 1821, at which point the domain was once again abolished, this time for good, the territory reverting once more to the bakufu.