until 1821 Spanish Colony
1823-1840 Confederation of Central America
since 1898 Republic of Nicaragua