Please improve the cohesiveness in the following text
A very small national force was maintained to man the frontier forts and to protect against Native American attacks. Each of the states had an army (or militia), and 11 of them had navies.
A very small national force was maintained to man the frontier forts and to protect against Native American attacks. Meanwhile, each of the states had an army (or militia), and 11 of them had navies.