sentence: '' the bengal army was used in military campaigns in other parts of india and abroad : to provide crucial support to a weak madras army in the third anglo-mysore war in 1791 , and also in java and ceylon .