ANNAPOLIS, Md. (AP) — The Maryland State Archives collection is among the largest in the country with nearly 400 years of history, including Colonial-era paintings, keepsakes of the state's governors, and thousands of land, court and genealogy records.

With all that history, the Archives has run out of space.

The agency first filled its Annapolis headquarters to capacity in 2000, then leased and filled a warehouse. It leased a second warehouse and a third before brokering a deal to store some of its property at the Baltimore City Archives.

All of the facilities are now full, and state archivists have been pushing for more space since 2005.

Agency officials say that the lack of space and "substandard" conditions at the warehouses have damaged some of the older items, and that employees are trying to avoid losing their grip on history.

"I hope that as the economy turns around we're going to be able to request some more conservation money," said Deputy State Archivist Tim Baker. "We really need to finally own up to our responsibility to take care of these treasures and store them adequately."

Mr. Baker said well-maintained archives serve a valuable purpose in a democracy.

"I don't think we have as much appreciation as we should for the fact that it wasn't that long ago that kings and military people ruled and decreed," he said. "We decided a different course and said that we're going to write it down and document the rights and responsibilities of people."

The Maryland State Archives was formed in 1934, but has grown exponentially in the past 20 years because it has taken on greater numbers of documents from increasingly records-conscious county and local governments.

Unlike many other states, the Maryland State Archives stores not just state and privately owned materials, but also those from local governments. Archivists say that policy has helped preserve many records and other items that otherwise might have been thrown away or left to rot in a town hall.

State archivists rarely have shied away from accepting outside contributions.

In 1988, they took on the cash-strapped Peabody Institution's art collection. Years later, they added a collection of local newspapers dating as far back as the 1700s from the Library of Congress.

While the mention of archives may conjure up visions of antique art and valuable relics, the majority of Maryland's more than 340,000 cubic feet of holdings is composed of paper records.

Most are kept for a set period of time until legal disposal is permitted, but about 5 percent to 10 percent are deemed to have permanent value and are kept in the collection.

These often include court documents, property deeds, birth and marriage records and other materials that have historical worth or might be referenced in the future.

Taking care of all those documents can be tough. About half of them are stored in warehouses that archivists say are plagued by bugs, mold, bad lighting and inadequate temperature controls that make them unbearably hot in the summer and freezing cold in the winter.

One such warehouse in Anne Arundel County includes paintings and land records from the 1800s and items owned by William Donald Schaefer, who served a total of 32 years as mayor of Baltimore and as the state's governor and then comptroller.

"It's not as much about temperature as it is consistency," said Kevin Swanson, director of the agency's constituent and interagency services. He added that ideal conditions are about 65 degrees and 55 percent humidity.

"When you don't have that, you're going to have problems," he said.

Archivists have had to stop accepting items because of the space crunch and instead encourage local governments to move toward keeping electronic records.