there is disclosed an ester compound of the formula , ## str1 ## wherein r 1 represents a methyl group or a hydrogen atom , r 2 represents a proparqyl group or an allyl group , and r 3 represents a alkyl group , a haloalkyl group or a cycloalkyl group and r 4 represents a halogen atom or a hydrogen atom , and a pesticide containing the same as an active ingredient .