The foundations were laid in March 1816 , and the completed building was consecrated on Maundy Thursday, 19 March 1818.