Delhi was occupied by the British forces under General Gerard Lake on September 14, 1803, following the Battle of Delhi against the Marathas during the Second Anglo-Maratha War. This marked the end of Maratha control over the city and the Mughal Emperor became a pensioner under British protection.