BOSTON (AP) — Military units from Massachusetts that served in the Iraq and Afghanistan wars are being honored at the Statehouse.

The National Guard and Air National Guard units were presented with battle streamers on Tuesday during a ceremony steeped in tradition and dating to the end of the Civil War. The ceremony was preceded by a cannon salute on the Boston Common.

Gov. Deval Patrick told the gathering that servicemen from the Bay State made huge sacrifices to serve the nation in the recent wars.

Speakers noted that Massachusetts is often called the birthplace for the National Guard, as the first colonial militia was formed by the Massachusetts Bay General Court in 1636.