Disclosed are process for producing a compound having NPYY5 receptor antagonism and useful crystals. A process for producing a compound represented by the formula (IV): wherein R 1 is substituted or unsubstituted alkyl, R 2 is substituted or unsubstituted alkyl, and n is 1 or 2, or the like, which comprises reacting a compound represented by the formula (II): wherein R 1 and n are as defined, above, and X is a leaving group, or the like and a compound represented by formula (III): wherein R 2 is as defined above, or the like.NPYY5 수용체 길항 작용을 갖는 화합물의 제조 방법 및 유용한 결정을 제공한다.식 (Ⅱ) : (식 중, R1 은 치환 혹은 비치환의 알킬이고, n 은 1 또는 2 이며, X 는 탈리기이다.) 로 나타내는 화합물 등과, 식 (Ⅲ) :(식 중, R2 는 치환 혹은 비치환의 알킬이다.) 으로 나타내는 화합물 등을 반응시켜, 식 (Ⅳ) : (식 중, R1 및 R2 는 상기와 동일한 의의이다.) 로 나타내는 화합물 등을 제조한다.