Except as otherwise provided in chapter 6-07.2, no pledge made by an association may be foreclosed except by an action in equity brought in the district court of the county in which the pledgor association is located, except where assets are pledged by a state banking association in order to secure borrowed money or the obligation of the association on rediscounted paper, the rights of the pledgee must be determined by the terms of the agreement of pledge, and if the pledged assets are outside of this state, the foreclosure of the pledge is governed by the laws of the state where the pledge is located.
N.D.C.C. § 6-03-57