A voltage regulator comprising: a first amplifier having: a first input couplable to a reference voltage; a second input coupled to a feedback path; a current mirror having an input and an output; a first branch coupled to the input of the current mirror; and a second branch coupled to the output of the current mirror, wherein a node of the second branch forms an output of the first amplifier; a second amplifier comprising a transistor, wherein: a first current terminal of the transistor forms a first input of the second amplifier couplable to a supply voltage; a gate of the transistor forms a second input of the second amplifier coupled to the output of the first amplifier; and a second current terminal of the transistor forms an output of the second amplifier coupled to an output of the voltage regulator, wherein the transistor has a parasitic capacitance between the second current terminal and the gate, and wherein the feedback path is also coupled to the output of the voltage regulator; and characterised by a compensation network comprising at least one passive component, wherein the compensation network is coupled to the input of the current mirror to reduce variations in an output current produced by the output of the voltage regulator caused by the parasitic capacitance between the second current terminal and the gate of the transistor of the second amplifier and variations in the supply voltage. a first amplifier having: a first input couplable to a reference voltage; a second input coupled to a feedback path; a current mirror having an input and an output; a first branch coupled to the input of the current mirror; and a second branch coupled to the output of the current mirror, wherein a node of the second branch forms an output of the first amplifier; a first input couplable to a reference voltage; a second input coupled to a feedback path; a current mirror having an input and an output; a first branch coupled to the input of the current mirror; and a second branch coupled to the output of the current mirror, wherein a node of the second branch forms an output of the first amplifier; a second amplifier comprising a transistor, wherein: a first current terminal of the transistor forms a first input of the second amplifier couplable to a supply voltage; a gate of the transistor forms a second input of the second amplifier coupled to the output of the first amplifier; and a second current terminal of the transistor forms an output of the second amplifier coupled to an output of the voltage regulator, wherein the transistor has a parasitic capacitance between the second current terminal and the gate, and wherein the feedback path is also coupled to the output of the voltage regulator; and characterised by a first current terminal of the transistor forms a first input of the second amplifier couplable to a supply voltage; a gate of the transistor forms a second input of the second amplifier coupled to the output of the first amplifier; and a second current terminal of the transistor forms an output of the second amplifier coupled to an output of the voltage regulator, wherein the transistor has a parasitic capacitance between the second current terminal and the gate, and wherein the feedback path is also coupled to the output of the voltage regulator; and characterised by a compensation network comprising at least one passive component, wherein the compensation network is coupled to the input of the current mirror to reduce variations in an output current produced by the output of the voltage regulator caused by the parasitic capacitance between the second current terminal and the gate of the transistor of the second amplifier and variations in the supply voltage.