Microwave-assisted double decarboxylative Claisen rearrangement of bis(allyl) 2-tosylmalonates provides substituted 1,6-heptadienes, which may be alkylated, and then converted into pyridines by ozonolysis followed by reaction with ammonia generated in situ under microwave conditions.