During the War of 1812 militia units had the reputation of being poorly trained and poorly disciplined. Massachusetts and Connecticut refused to call out their militias during this time. Vermont would not allow its militia to serve outside of state borders. From 1815 until 1845, many of the Northern states did not require militia service by their citizens. The Mexican-American War was fought mainly by the regular army and volunteers served for one year terms of service. Very few state militias participated. By the 1840s, with no state laws requiring militia service in many states, the militias were replaced by voluneteer groups who served on weekends and provided their own weapons. In exchange for state-supplied weapons and uniforms, many agreed to become part of their respective state militias, especially in Northern states.