Finally, Madame de Pompadour was presented at court in 1745, and was given such an important and influential position at court until her death in 1764, that she somewhat eclipsed the queen. The lovers of Louis were often given positions in the court of Marie, in order for them to have a permanent access and official excuse to remain at court, which placed Marie in a difficult position. She regarded the first official mistress, Louise Julie de Mailly, as the most hurtful because she was the first one, but she disliked Marie Anne de Mailly on a more personal level because Marie Anne was haughty and insolent. In contrast to the other official mistresses, Marie had a moderately friendly and cordial relationship to Madame de Pompadour, who always treated the Queen with deference and respect, though Marie did (unsuccessfully) oppose Pompadour's appointment as a lady-in-waiting in 1756. In contrast, Marie herself seems never to have had extramarital relations. During this time France was a powerful nation and often in conflict with Austria