Spencer Pratt and Heidi Montag married in April 2009

Heidi Montag was snapped visiting the Santa Monica Courthouse yesterday to file for a legal separation from husband Spencer Pratt.

Heidi, 23, confirmed she had moved out of their marital home last week and is siting irreconcilable differences as the reason for the split.

A legal separation will mean that Heidi's earnings will become her own, reports TMZ.

'Our marriage was on The Hills - I didn't even know it was
legal,' Spencer, 26, claimed recently.

Heidi is spending the summer at the home of her friend Jen Bunney, and the two will be captured on camera for a new reality show.

SEE PICTURES Celebrity Surgery: Heidi Montag has 10 plastic surgery procedures in one day>>

SEE PICTURES Heidi and Spencer's wedding>>

SEE PICTURES Celebrity sex secrets>>

Kate Lucey