They say the killing took place one day after another local police commander was ambushed and wounded by assailants who opened fire from a moving car .