From the Super Mario Wiki
The White House has made two appearances in the various Mario cartoons produced by DIC Entertainment. It first appears briefly towards the end of the animated segment of The Super Mario Bros. Super Show! episode "Plumbers Academy", in which the President awards Mario and Luigi with a Golden Plumber's Helper and a Golden Wrench respectively.
The White House later reappears with a much larger role in The Adventures of Super Mario Bros. 3 episode "Reptiles in the Rose Garden". In it, Bowser uses a Levitation Beam to warp the White House and everyone inside to Dark Land, so that Kootie Pie Koopa can take the President's place as "Ruler of America".
Later on, the White House is transported to the bottom of the Mushroom Sea, where it starts flooding with water. While Mrs. President is frightened; her husband is too busy talking on the phone to notice anything. Eventually, Mario arrives and rigs a device made out of pipes to drain the water out of the White House, allowing it to rise to the surface.
Eventually, Mario manages to warp the White House back to Washington D.C., but he accidentally places it on top of the Washington Monument. He eventually drops the White House back where it belongs, nearly crushing Kootie Pie.