It was incorporated by the West Virginia legislature on March 30 , 1868 .
The city of Martinsburg was incorporated by an act of the West Virginia Legislature on March 30 , 1868 .