Complex sentence: Inhaúma transferred the interim command-in-chief to his son-in-law the Baron of Passagem on 16 January and was officially discharged of that post on 28 January.
Split into simpler sentences: Inhaúma transferred the command-in-chief to his son-in-law the Baron of Passagem on 16 January. He was officially discharged of that post on 28 January.