The subject of present invention is to provide a compound or pharmaceutically acceptable salts thereof having excellent effect for decrease of blood sugar and protection of β cell or pancreas and provide a pharmaceutical composition having excellent therapeutic and/or preventive effect for type l diabetes and type 2 diabetes and the like caused by increase of blood sugar induced by abnormal metabolism of sugar.The solution of present invention is a compound represented by the general formula (I) or pharmaceutically acceptable salts thereof.本發明之課題係提供一種化合物或其藥學上可容許的鹽,其具有優異的降血糖作用、具有β細胞或胰臟之保護作用,以及提供一種醫藥組成物,其對由於糖代謝異常而產生血糖上升的1型糖尿病、2型糖尿病等具有優異的治療效果及/或預防效果。本發明之解決手段係一種通式(I)所表示之化合物或其藥學上可容許的鹽: