Mr Sharma has been removed from the post and Ghaziabad city unit general secretary Man Singh Goswami has been appointed as the officiating city president, according to a letter by BJP Uttar Pradesh State General Secretary Vidyasagar Sonkar.
"I have received the letter from the state head office and will obey the instructions," Mr Sharma said.
The man and the woman were friends and worked together in a multinational company. Their marriage was later solemnized in a court. Police said they used mild force to disperse the protesters.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.