They were in heroes in France during World War I, only to be treated as second-class citizens when they returned to New York.

Now, the Harlem Hellfighters, a black infantry regiment that won awards for valor, are getting a new life online thanks to a project posting their personnel records on a museum website.

The unit included Frank Baker, a printer who signed up at 21 years old and served for three years before his honorable discharge.

Hubert Fleming, a janitor who enlisted at 19, stood 5-foot-7-inches and had brown eyes. And Joseph Cabeza, a painter, was 24 when he joined the unit. He died within two years, in May 1926.

These peach-colored enlistment cards offer a window into the lives of soldiers who joined the 369th Regiment Infantry. They list a range of statistics, such as the soldier’s age, address, birthplace, promotions, reason for discharge and civilian job. Some listed themselves as porters, chauffeurs, students, musicians, laborers and other positions open to black men at the time.