When was selenium discovered as an element?

When was selenium discovered as an element?

It was discovered in 1817 as an element