Maria Theresa ruled Hungary as Mary II .
She was the sovereign of Austria , Hungary ( as Mary II , ) , Croatia , Bohemia , Transylvania , Mantua , Milan , Lodomeria and Galicia , the Austrian Netherlands and Parma .