People carry a rainbow flag in remembrance for prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)

BERLIN (AP) — A ceremony has been held at the former site of Germany's Buchenwald concentration camp to remember people imprisoned there because they were thought to be gay.

The commemoration on Sunday was part of events in the nearby town of Weimar for Christopher Street Day, Germany's LGBT pride observance.

About 50 people marched through the grounds of the Buchenwald Memorial holding a rainbow flag and placed flowers at a marker for 650 camp prisoners who were assigned uniforms with pink triangles between 1937 and 1945.

Nazi Germany forced people to wear pink triangles to identify them as gay. Many of the prisoners lost their lives at Buchenwald, but how many is unknown.

Weimar's Christopher Street Day group said it wanted to "commemorate the prisoners who had to suffer because as men they loved men."

Flowers are placed at a memorial stone in remembrance for prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)
People attend a commemoration for prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)
People hold a minute of silence for prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)
Bodo Ramelow, governor of German state Thuringia, lays a wreath in remembrance for prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)
People lay a wreath in remembrance for prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)
People arrive at the camp entrance with the slogan 'To Each His Own' (Jedem das Seine) in remembrance of prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)
People carry a rainbow flag in remembrance for prisoners assigned a pink triangle in the former Nazi concentration camp Buchenwald within the Christopher Street Day in Weimar, Germany, Sunday, June 23, 2019. There were 650 prisoners assigned a pink triangle in the Buchenwald concentration camp between 1937 and 1945. Many of them lost their lives. (AP Photo/Jens Meyer)