Mondion also made further plans to strengthen Mdina's fortifications, but they were not implemented since the Order focused on building its fortifications in the harbour area. The only major addition to the Mdina fortifications after Mondion's reconstruction was Despuig Bastion, which was built during the reign of Ramon Despuig between 1739 and 1746. On 10 June 1798, Mdina was captured by French forces without much resistance during the French invasion of Malta. A French garrison remained in the city, but a Maltese uprising broke out on 2 September of that year. The following day, rebels entered the city through a sally port in Despuig Bastion and massacred the garrison of 65 men. These events marked the beginning of a two-year uprising and blockade, which ended in 1800 with Malta becoming a British protectorate. Mdina's fortifications remained in use during the British period, and some minor alterations such as the installation of gun emplacements were made in the 19th century. By the end of the century, the city was regarded as forming part of the defensive system of the Victoria Lines. In the 1890s, the battery near St. Peter Bastion was demolished and a gateway known as the Għarreqin Gate was opened within the Magazine Curtain. This was done in order to facilitate access to the newly-built railway station located nearby. The fortifications were included on the Antiquities List of 1925. Some of the countermine galleries in Mdina's ditch were used as air raid shelters during World War II.
Question: How many years did it take to build the Despuig Bastion?
Answer: 7