Karnataka Chief Minister Siddaramaiah has written to former US President Barack Obama, extending him an invitation to an event to mark the centenary celebration of Mahatma Gandhi taking over as the President of the Indian National Congress session in Belagavi in the State.