Observations of Markarian 421 with the MAGIC telescope