"Maryland, My Maryland" was adopted as the State song in 1939 (Chapter 451, Acts of 1939; Code General Provisions Article, sec. 7-318).
The nine-stanza poem, "Maryland, My Maryland," was written by James Ryder Randall in April 1861. A native of Maryland, Randall was teaching in Louisiana in the early days of the Civil War, and he was outraged at the news of Union troops being marched through Baltimore. The poem articulated Randall's Confederate sympathies. Set to the traditional tune of "Lauriger Horatius" ("O, Tannenbaum"), the song achieved wide popularity in Maryland and throughout the South.
Maryland, My Maryland
I
The despot's heel is on thy shore,
Maryland!
His torch is at thy temple door,
Maryland!
Avenge the patriotic gore
That flecked the streets of Baltimore,
And be the battle queen of yore,
Maryland! My Maryland!
II
Hark to an exiled son's appeal,
Maryland!
My Mother State! to thee I kneel,
Maryland!
For life or death, for woe or weal,
Thy peerless chivalry reveal,
And gird thy beauteous limbs with steel,
Maryland! My Maryland!
III
Thou wilt not cower in the dust,
Maryland!
Thy beaming sword shall never rust,
Maryland!
Remember Carroll's sacred trust,
Remember Howard's warlike thrust,-
And all thy slumberers with the just,
Maryland! My Maryland!
IV
Come! 'tis the red dawn of the day,
Maryland!
Come with thy panoplied array,
Maryland!
With Ringgold's spirit for the fray,
With Watson's blood at Monterey,
With fearless Lowe and dashing May,
Maryland! My Maryland!
V
Come! for thy shield is bright and strong,
Maryland!
Come! for thy dalliance does thee wrong,
Maryland!
Come to thine own anointed throng,
Stalking with Liberty along,
And sing thy dauntless slogan song,
Maryland! My Maryland!
VI
Dear Mother! burst the tyrant's chain,
Maryland!
Virginia should not call in vain,
Maryland!
She meets her sisters on the plain-
Sic semper! 'tis the proud refrain
That baffles minions back amain,
Maryland!
Arise in majesty again,
Maryland! My Maryland!
VII
I see the blush upon thy cheek,
Maryland!
For thou wast ever bravely meek,
Maryland!
But lo! there surges forth a shriek,
From hill to hill, from creek to creek,
Potomac calls to Chesapeake,
Maryland! My Maryland!
VIII
Thou wilt not yield the Vandal toll,
Maryland!
Thou wilt not crook to his control,
Maryland!
Better the fire upon thee roll, Better the shot, the blade, the bowl,
Than crucifixion of the Soul,
Maryland! My Maryland!
IX
I hear the distant thunder-hum,
Maryland!
The Old Line bugle, fife, and drum,
Maryland!
She is not dead, nor deaf, nor dumb-
Huzza! She spurns the Northern scum!
She breathes! She burns! She'll come! She'll come!
Maryland! My Maryland!
I’m guessing it was the “Northern Scum” line they didn’t like, as it expressed a southern confederacy therefore pro-slavery point of view.
Sung to the tune of “O Tanenbaum”