Why was Cleopatra the last pharaoh of Egypt?

Roman empires overthrew the country and cleopatra was the ruler of that time and killed herself. The Romans took over and ancient Egypt fell apart