Was Merida ever the capital of Mexico?

Merida has never been the capital of Mexico.