Borrowed from Italian capitaneria. By surface analysis, kaptan + -erija.
kapitanerija f (plural kapitaneriji)