"chief support," 1787, a figurative use of a nautical noun meaning "stay which extends from the main-top to the foot of the foremast" (late 15c.), from main (adj.) + stay (n.).
mainline
mainly
mainmast
mainsail
mainspring
mainstay
mainstream
maintain
maintainable
maintenance
main-top