I took San Lorenzo from the mauryans then accidentally gave it back to them when I forced surrender because I did not understand that war demand screen.  The next turn they had a demand for me to give San Lorenzo back.