The Subsidiary Alliance was a treaty between the British East India Company and Indian princely states, where states agreed to accept British protection and station a British force within their territory, paying for its maintenance, and accepting a British Resident.