The first colony-wide militia was formed by Massachusetts in 1636 by merging small older local units, and several National Guard units can be traced back to this militia. The various colonial militias became state militias when the United States became independent. The title "National Guard" was used in 1824 by some New York State militia units, named after the French National Guard in honor of the Marquis de Lafayette.