Retail Opportunity Investments Corp., which owns and operates shopping centers nationwide, has amended and restated its $175 million senior unsecured revolving credit facility, as well as a similar $110 million term loan facility.

A statement from the San Diego-based company said terms of both packages have been extended by two years, and the amount has been increased by a total of $115 million, to $400 million, while reducing borrowing costs.

Chief Financial Officer John B. Roche said the refinancing of the credit and loan packages include lower interest rate spreads than the firm’s existing facilities, reflecting lender confidence and the company’s commitment to “a conservative and flexible capital structure.”

The unsecured revolving credit facility has an initial maturity date of Aug. 29, 2016, with a borrower’s option to extend it for one year; and the term loan facility has a maturity date of Aug. 29, 2017. Several financial services firms were involved in the refinancings, led by KeyBank Capital Markets Inc. and Merrill Lynch.

Retail Opportunity Investments Corp. recently moved its national headquarters from White Plains, N.Y., to offices at University Towne Center. As of June 30, the company’s portfolio included 38 shopping centers encompassing approximately 4.1 million square feet nationwide.

The real estate investment trust trades under the symbol ROIC on the Nasdaq stock exchange.