Who was japan's ruler during the meiji era?

Who was japan's ruler during the meiji era?