In either case, she should have been a virgin, but she broke her vow, and became pregnant due to an affair with Zeus. She became the subject of Artemis's wrath, and was transformed into a bear, so that some hunter would hunt her. It would have happened and Callisto would have been killed, if Zeus had not interfered and given her a place in the constellation.