Hastings was entrusted with the power of peace and war. The highest ranking persons title in British india is