He was chief architect of Riga until 1797 .
When Leicht died in 1789 Haberland was appointed as his successor .
Haberland was Haberland   of Riga until 1797 .
When Leicht died in 1789 Haberland was appointed as his successor .