when the country was again a spanish colony, san pedro de macorís was made a "comandancia de armas" (an spanish military category). when the country was free again, in 1865, every town with the category of "comandancia de armas" became a municipality. but san pedro de macorís was still a very small town of the el seibo province.