A chemist accidently discovered 'Mauveine' the first synthetic dye whilst searching for what?

Science Trivia: A chemist accidently discovered 'Mauveine' the first synthetic dye whilst searching for what?