On 20 May 1869, a small part of the territory of Gagny was detached and merged with a part of the territory of Livry-Gargan and a part of the territory of Clichy-sous-Bois to create the commune of Le Raincy.