The present invention relates to substituted pterin compounds, their synthesisand use. Inparticular, the present invention relates to a new precursor compound and itsanalogs forsynthesizing a new substituted pterin compound and its analogs. These newcompounds areparticularly suitable for treating molybdenum cofactor deficiency.