A rogues gallery (or rogues' gallery) is a police collection of pictures or photographs of criminals and suspects kept for identification purposes. The term is also used figuratively for any group of shady characters or the line-up of "mugshot" photographs that might be displayed in the halls of a dormitory or workplace or on an online mugshot publishing website.
In 1855, Allan Pinkerton founded the Pinkerton National Detective Agency. Pinkerton devised the Rogues’ Gallery — a compilation of descriptions, methods of operation (modus operandi), hiding places, and names of criminals and their associates.
Inspector Thomas Byrnes of the late-19th-century New York City Police Department popularized the term with his collection of photographs of known criminals, which was used for witness identification. Byrnes published some of these photos with details of the criminals in Professional Criminals of America (1886).
In comic book universes such as the DCU and the Marvel Universe, a rogues gallery is a collection of enemies of a particular hero, the most famous and well known examples are the Batman rogues gallery and the Spider-Man rogues gallery. Another example is the Rogues gallery of Superman.