The present invention provides substituted pyridine compounds of the formula (I) or N oxides or agriculturally suitable salts thereof wherein the variables in the formula (I) are defined as in the description. Substituted pyridines of formula (I) are useful as herbicides.