The 258th Field Artillery traces its lineage back to the 4th Regiment of Artillery, which was organized in the New York militia from existing units in New York City on October 9, 1809.
The primary mission of the New York City militia units was to prevent the British from entering New York Harbor and possibly occupying the city.