<Tr> <Th> Position </Th> <Td> Captain </Td> </Tr> <Tr> <Th> Partner </Th> <Td> Grilka (divorced) </Td> </Tr> <P> Quark is a fictional character in the American television series Star Trek: Deep Space Nine . The character, which was played by Armin Shimerman, was depicted as a member of an extraterrestrial race known as the Ferengi, who are stereotypically capitalist and motivated only by profit . </P> <P> Quark, who often served as the show's comedy relief, may have been named after the 1970s television series Quark, which frequently examined science fiction themes from a humorous or satirical perspective . </P>

Who played the ferengi on deep space nine