A work that will give you an excellent understanding of how Nicaragua did what it did and got to be what it is today sociopolitically is "Revolution in the Family". Highly recommend that work.