Two packages exploded at Maryland state office buildings on Thursday.

One package exploded in the downtown Annapolis building that houses several executive offices including the Secretary of State, the Governor's Department of Homeland Security and the state Department of Veterans Affairs. 

The other package exploded 30 miles away at the Maryland Department of Transportation headquarters in Hanover.

Federal officials say both packages were sent through the mail, and when opened, emitted a small flame, smoke and an odor. Two people including one mailroom employee suffered minor injuries, according to initial reports.

Baltimore's WJZ is reporting that one of the packages was addressed to Gov. Martin O'Malley at the Governor's Mansion but was instead taken to the downtown Annapolis office building. The Washington Examiner has not confirmed this report.

O'Malley has ordered cabinet secretaries to shutter all mail rooms and refrain from opening any mail as the investigation continues, O'Malley spokesman Rick Abbruzzese told HometownAnnapolis.com.

No information has been released on the source of the packages. Attorney General Douglas F. Gansler was being sworn into office for another term around the time of the explosions, but there is no indication that the two events are related.