Crown Princess Mary of Denmark is pregnant and expecting to give birth at the end of October, the palace said Monday. Australian-born Mary, who married Crown Prince Frederik in a lavish ceremony last May at Copenhagen's Lutheran cathedral, plans to deliver the baby at Copenhagen's university hospital, the palace said in a brief statement. The child will be second in line of succession to the throne. Frederik, the 35-year-old heir to the Danish throne, is Queen Margrethe's oldest son. "Mary is doing fine and she will carry out her official duties as planned, including the trip to the Faeroe Islands," palace spokeswoman Lis M. Frederiksen told The Associated Press. The royal family will visit the semi-independent Danish territories, located between Scotland and Iceland, on June 20-23.